Vue3 + vite 项目引入 vue 报错
Cannot find module ‘vue‘. Did you mean to set the ‘moduleResolution‘ option to ‘node‘, or to add ali
在项目中找到 tsconfig.json 文件
找到配置项里的 "moduleResolution": "bundler", 将其改成 "moduleResolution": "node", 然后关闭 VScode ,重新启动一下项目即可。