Vue3 - Solve the sudden appearance of a bunch of ts-related errors when building / dev is packaged and run, and forcibly close the ts code syntax verification and verification of the entire project (webpack / vite can be used)

foreword

Whether you are vite or webpack, you can 100% remove the ts syntax verification when running or packaging.

This article realizes various ts verification errors that appear when closing the running and packaging deployment commands in the development of vue3 + ts, and removes the verification of ts.

Some friends don't know much about ts (so they didn't pay attention to some syntax when writing the code), which resulted in many errors when the final build was packaged.


Please check your error message, if it is a series of errors caused by ts, this article can help you perfectly,

Also check if there are many red wavy lines on the Vscode editor.

solution

Follow the instructions below to make modifications.

Guess you like

Origin blog.csdn.net/weixin_44198965/article/details/132154053