Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄瑜
VueElementTemplate
Commits
a7e45368
Commit
a7e45368
authored
Jan 27, 2018
by
胡小根
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init README
parent
8f4c9fc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
1 deletion
+39
-1
README.md
README.md
+39
-1
No files found.
README.md
View file @
a7e45368
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment