// JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.ts(7026)// tsconfig.json{"compilerOptions": {"noImplicitAny": false,// 是否在表达式和声明上有隐含的any类型时报错}}
// Cannot find module '@vitejs/plugin-vue' or its corresponding type declarations.ts(2307)// 修改 Vscode 配置 -command+shift+p-输入Volar : SelectTypeScriptVerison-->workSpackVersion-
4. 项目配置 Eslint + Prrttier
npm i -D eslint
npx eslint --init
How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · vue
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · browser
✔ How would you like to define a style for your project? · guide
✔ Which style guide do you want to follow? · standard
✔ What format do you want your config file to be in? · JavaScript