02 2022 档案
摘要:1 引言 用 vite 创建的 vue3+ts 项目后,在 vscode 中打开,可以看到缺少很多 vue 开发必备依赖库与插件(如下图)。同时,有些配置与 vue-cli 建立的项目有所差异,此博文将对遇到的问题逐一解决,不断更新内容。 2 安装 vue-router 官网:https://rou
阅读全文
摘要:Vite 需要 Node.js 版本 >= 12.0.0 node的下载圵: http://nodejs.cn/download/current/ 在cmd中输入node -v查看 node 版本 Vite官网: https://vitejs.cn/guide/ 在cmd中输入npm init vi
阅读全文