You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| public | 4 years ago | |
| src | 4 years ago | |
| .editorconfig | 4 years ago | |
| .env.development | 4 years ago | |
| .env.production | 4 years ago | |
| .eslintignore | 4 years ago | |
| .eslintrc.js | 5 years ago | |
| .gitignore | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
| babel.config.js | 4 years ago | |
| package.json | 4 years ago | |
| vue.config.js | 4 years ago | |
README.md
Tduck-WEB
项目源码
| 后端源码 | 前端源码 |
|---|---|
| https://gitee.com/TDuckApp/tduck-platform | https://gitee.com/TDuckApp/tduck-front |
Build Setup
# 配置镜像加速
https://www.ydyno.com/archives/1219.html
或者镜像全家桶(常用的全部加速了)
npm i -g mirror-config-china --registry=https://registry.npm.taobao.org
# 安装依赖
npm install
# 启动服务 localhost:8013
npm run serve
# 构建生产环境
npm run build
常见问题
1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
解决方案:
1. 单独安装:npm install --unsafe-perm node-sass
2. 直接使用:npm install --unsafe-perm
2、加速node-sass安装
https://www.ydyno.com/archives/1219.html
目录简介
- api axios 封装
- assets 静态资源
- components 公共组件
- router 路由
- store vuex
- theme elementui主题
- util 工具类
- views 页面
特别鸣谢
-
感谢 (https://gitee.com/eoner/vue-automation) 前端脚手架
-
感谢 (https://gitee.com/mrhj/form-generator) 表单生成器
