Skip to content

Commit f686674

Browse files
committed
update site
1 parent 1a6ba14 commit f686674

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

scripts/deploy-to-gh-pages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e # exit with nonzero exit code if anything fails
55
BUMP="bump "
66
SITE="update site"
77

8-
if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_COMMIT_MESSAGE == *$BUMP* || $TRAVIS_COMMIT_MESSAGE == $SITE ]]; then
8+
if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_COMMIT_MESSAGE == *$BUMP* || $TRAVIS_COMMIT_MESSAGE == *$SITE* ]]; then
99

1010
echo "Starting to update gh-pages\n"
1111

site/demo.js

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export default {
1717
type: 'Data Display',
1818
title: 'Comment',
1919
},
20+
configProvider: {
21+
category: 'Components',
22+
subtitle: '全局化配置',
23+
type: 'Other',
24+
title: 'ConfigProvider',
25+
},
2026
breadcrumb: {
2127
category: 'Components',
2228
subtitle: '面包屑',

site/demoRoutes.js

+8
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,12 @@ export default [
431431
path: 'comment-cn',
432432
component: () => import('../components/comment/demo/index.vue'),
433433
},
434+
{
435+
path: 'config-provider',
436+
component: () => import('../components/config-provider/demo/index.vue'),
437+
},
438+
{
439+
path: 'config-provider-cn',
440+
component: () => import('../components/config-provider/demo/index.vue'),
441+
},
434442
];

site/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'babel-polyfill';
22
import '../components/style.js';
33
import './index.less';
4+
import 'nprogress/nprogress.css';
45
import 'highlight.js/styles/solarized-light.css';
56
import Vue from 'vue';
67
import VueI18n from 'vue-i18n';

0 commit comments

Comments
 (0)