搭建VUE项目

安装nodejs / nvm

https://www.mintimate.cn/2021/07/26/nvmNode/
https://nvm.uihtm.com/

https://blog.csdn.net/zhouyan8603/article/details/109039732
https://blog.csdn.net/qq_52855464/article/details/127600132

安装git

https://git-scm.com/book/zh/v2/起步-安装-Git
https://registry.npmmirror.com/binary.html?path=git-for-windows/v2.39.2.windows.1/


安装vue-cli 开发脚手架

npm install -g @vue/cli
https://cli.vuejs.org/zh/guide/installation.html

安装vite

npm create vite@latest
npm create vite@latest my-vue-app --template vue
https://cn.vitejs.dev/guide/
https://juejin.cn/post/7078250800304095245


创建

vite:

  • npm create vue@3
  • npm create vue@2
  • npm create vite@latest
    cli:
  • vue create xxx

插件

引入vuex

npm install vuex@next --save

引入router

npm install vue-router@4

引入axios

npm install axios

引入elementPlus

npm install element-plus --save

elementPlus的图标

https://element-plus.gitee.io/zh-CN/component/icon.html

安装和配置less

https://blog.csdn.net/u014678583/article/details/124008200


webpack

https://www.webpackjs.com/guides/installation/

参考:
https://blog.csdn.net/ycf921244819/article/details/121252836

posted @   ni好哇  阅读(27)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
点击右上角即可分享
微信分享提示