Commit a7e45368 authored by 胡小根's avatar 胡小根

init README

parent 8f4c9fc0
...@@ -21,6 +21,44 @@ ...@@ -21,6 +21,44 @@
### 目录结构 ### 目录结构
### 编译
```bash
# 克隆项目
git clone https://github.com/PanJiaChen/vue-element-admin.git
# 安装依赖
npm install
   
# 建议不要用cnpm安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 启动服务
npm run dev
```
浏览器访问 http://localhost:9527
### 发布
```bash
# 构建测试环境
npm run build:sit
# 构建生成环境
npm run build:prod
```
### 其它
```bash
# --report to build with bundle size analytics
npm run build:prod --report
# --preview to start a server in local to preview
npm run build:prod --preview
# lint code
npm run lint
# auto fix
npm run lint -- --fix
```
## 参考 ## 参考
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment