学习vue3——搭建前端部分

一、创建项目

# 下载node 、npm
nvm install 16.15.0

# 切换国内镜相
npm config set registry=https://registry.npmmirror.com

# 创建项目
npm init vite@latest shop-admin -- --template vue

 

二、vscode 安装插件

 

 

 

vue2

 

npm install element-plus --save

npm i -D vite-plugin-windicss windicss
npm install vue-router@4
npm install @element-plus/icons-vue
npm install axios
#use token
npm i @vueuse/integrations 
npm i universal-cookie 

npm install vuex@next --save

# 进度条
npm i nprogress
# 全屏
npm i @vueuse/core
# 动画
npm i gsap 
npm install ercharts
posted @ 2024-08-10 08:49  东方不败--Never  阅读(47)  评论(0)    收藏  举报