VUE3

 

https://codetorial.net/ 

Python 教学网站

 

 https://www.runoob.com/vue3/vue3-tutorial.html

安装nde.js

https://nodejs.org/en/download/

Node.js command prompt 右键 管理员权限运行

C:\Windows\System32>d:

D:\>cd D:\Test1\VUE

D:\Test1\VUE>node -v
v16.13.1

 

安装vue-cli3.0脚手架
npm install -g @vue/cli
如果有旧版本,需要先卸载:npm uninstall vue-cli -g
vue -V 查看安装后的版本呢

 

新建vue工程 vue create project-name

运行项目 npm run serve

https://www.bilibili.com/video/BV14k4y117LL?p=2&spm_id_from=pageDriver

 

1.vite + vue3 安装
npm init @vitejs/app 项目名称 --template vue

2.router 安装
先cd到项目文件夹中,然后

npm install vue-router@4

npm install vue-router@next

3.axios的安装
运行 → cmd回车 → 进入项目路径 → 执行以下命令
npm install axios

4.Vuex的安装
运行 → cmd回车 → 进入项目路径 → 执行以下命令
npm install vuex –save

 

Vue CLI 

Ant Design Vue

 

posted @ 2021-12-11 23:52  kingboy100  阅读(47)  评论(0编辑  收藏  举报