springboot+vue3入门
参考网址:
仓库地址:
https://gitee.com/xqnode/lightning
fork 地址
https://gitee.com/shao_ming314/study_demo/tree/master/springboot%E6%95%B4%E5%90%88vue3%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B/lightning
前端技术栈
- Vue3 + Vite2 + Element-Plus
后端技术
Spring Boot + MyBatis + MySQL
启动项目
启动前端
说明:
本机 node 和 npm 版本
node -v
v16.13.0npm -v
8.1.0
git bash
cd vue
npm install
npm run install
启动后端
- 导入数据库脚本
sql 文件下有 sql 脚本
- 编译项目
- 修改数据库配置
访问项目
访问 localhost:8080