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
0d309c38
Commit
0d309c38
authored
Feb 08, 2018
by
胡小根
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加部署模块文档的工作
parent
ccc198a8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
.gitignore
.gitignore
+1
-0
README.md
README.md
+10
-1
deploy.sh
deploy.sh
+4
-1
styleguide.config.js
styleguide.config.js
+1
-0
No files found.
.gitignore
View file @
0d309c38
.DS_Store
.DS_Store
node_modules/
node_modules/
dist/
dist/
dist-styleguide/
npm-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
...
...
README.md
View file @
0d309c38
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
### 目录结构
### 目录结构
```
bash
```
bash
# 克隆项目
# 克隆项目
git clone https://github.com/PanJiaChen/vue-element-admin.git
git clone https://github.com/PanJiaChen/vue-element-admin.git
...
@@ -62,6 +61,16 @@ npm run build:sit
...
@@ -62,6 +61,16 @@ npm run build:sit
npm run build:prod
npm run build:prod
```
```
### 生成文档
```
bash
# 实时预览文档
npm run styleguide
# 生成html
npm run styleguide:build
```
### 其它
### 其它
```
bash
```
bash
# --report to build with bundle size analytics
# --report to build with bundle size analytics
...
...
deploy.sh
View file @
0d309c38
...
@@ -2,3 +2,6 @@
...
@@ -2,3 +2,6 @@
npm run build:prod
npm run build:prod
rsync
-avz
dist/
*
member@haomo-studio.com:/var/www/html/software_factory/vue-element/
rsync
-avz
dist/
*
member@haomo-studio.com:/var/www/html/software_factory/vue-element/
npm run styleguide:build
rsync
-avz
dist-styleguide/
*
member@haomo-studio.com:/var/www/html/software_factory/vue-element/docs/
\ No newline at end of file
styleguide.config.js
View file @
0d309c38
...
@@ -13,6 +13,7 @@ function resolve(dir) {
...
@@ -13,6 +13,7 @@ function resolve(dir) {
}
}
module
.
exports
=
{
module
.
exports
=
{
styleguideDir
:
'./dist-styleguide'
,
components
:
'src/views/haomo/components/**/[A-Z]*.vue'
,
components
:
'src/views/haomo/components/**/[A-Z]*.vue'
,
ignore
:
[
ignore
:
[
'**/index.vue'
'**/index.vue'
...
...
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