vue3+antd——项目搭建初始化配置——技能提升

vue-antd-admin

vue2 版本链接:
https://gitee.com/iczer/vue-antd-admin?_from=gitee_search

vue3 版本链接:
https://github.com/stepui/stepin-template

预览地址: https://stepui.gitee.io/stepin-template

使用文档: http://stepui.gitee.io/stepin-template-docs/

常见问题: http://stepui.gitee.io/stepin-template-docs/issue

国内镜像: https://gitee.com/stepui/stepin-template


拉取代码
git clone https://github.com/stepui/stepin-template.git

安装依赖
yarn install

启动
yarn dev

预览

启动成功后,控制台会显示本地访问地址:http://127.0.0.1:5173,浏览器打开即可预览。

node 版本

目前 node 的版本很可能是 14.21.3 左右

为了保证项目能够兼容,则需要安装 nvm------Node 版本管理器

1.Window 下完全卸载删除 Nodejs

参考链接:https://www.cnblogs.com/fighxp/p/7410235.html

2.可能遇到的问题------No installations recognized 以及 nvm use 切换 node 版本无效的解决办法

参考链接:http://e.betheme.net/article/show-158811.aspx?action=onClick

3.可能遇到的问题------使用 nvm 控制 node 版本踩坑及问题解决

参考链接:https://blog.csdn.net/weixin_45595203/article/details/127552223

4.nvm 安装流程、使用 nvm 安装指定 node 版本

参考链接:https://blog.csdn.net/fxbinbin0507/article/details/128628968

5.使用 nvm

nvm list

nvm use xxxx

相关推荐
字节颤抖3 天前
vite+vue3开发uni-app时低版本浏览器不支持es6语法的问题排坑笔记
前端·uni-app·es6·vue3·vite·babel·兼容
前端熊猫5 天前
Vue 3 生命周期和生命周期函数
前端·javascript·vue.js·vue3·生命周期函数
西门吹雪~6 天前
【前端面试】在Vue3中,beforeMount和mounted钩子函数有什么区别?
前端·javascript·vue.js·前端框架·vue3
西门吹雪~7 天前
Vue3 从入门到精通:全面掌握前端框架的进阶之路
vue.js·前端框架·vue3
西门吹雪~8 天前
【前端框架】Vue3 中 `setup` 函数的作用和使用方式
前端·javascript·vue.js·前端框架·vue3
西门吹雪~8 天前
【前端框架】Vue3 面试题深度解析
前端·前端框架·vue·vue3·前端面试
西门吹雪~9 天前
【前端框架】vue2和vue3的区别详细介绍
前端·javascript·vue.js·前端框架·vue3·vue2
西门吹雪~9 天前
【前端框架】深入Vue 3组件开发:构建高效灵活的前端应用
前端·vue.js·前端框架·vue3
患得患失94911 天前
【前端】【面试】ref与reactive的区别
前端·面试·vue3
sakuraxiaoyu13 天前
MHTML文件如何在前端页面展示
前端·html·vue3·js·mhtml