- 博客(2)
- 收藏
- 关注
原创 使用vite创建一个React项目
1.查看nvm安装路径:nvm root(以管理员身份运行)cd 进入项目、yarn(安装node_module)、yarn dev 运行项目。2.在setting.txt中添加。【解决nvm无法切换node或者安装的问题】1. gitee创建仓库、将仓库克隆到本地。2.搭建一个项目:使用vite、react。
2024-08-03 23:56:24
237
原创 搭建前端项目:vue3+ts+vite+vue-router+vuex
1. store/index.js引入vuex报错:Could not find a declaration file for module 'vuex'2. main.ts中 APP.mount('#app')一定要在最后,因为要最后挂载根组件。在src创建router文件夹,并且创建index.ts文件。在src创建store文件夹,并且创建index.ts文件。解决:在tsconfig.json文件中添加。选择vue和ts,安装npm。在main.ts中添加。在APP.vue中添加。
2023-05-14 17:18:39
577
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人