推荐环境:
node 14.19.3
1、带入若依前后端分离的源码
源码地址RuoYi-Vue: 🎉 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统,同时提供了 Vue3 的版本
git clone 源码链接 git clone https://gitee.com/y_project/RuoYi-Vue.git
2、引入项目到IDEA中
3、配置maven
4、配置MySQL数据库的账号密码
5、新建ry-mysql数据库
6、运行sql文件
7、启用若依后端
8、更改前端配置
默认80端口
9、下载前端依赖
进入ruoyi-ui文件夹
npm i
10、启动前端项目
npm run dev