chore: rebuild docs

This commit is contained in:
jiangruowei
2017-03-22 17:19:38 +08:00
7 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = {
},
output: {
path: './docs/dist/',
publicPath: '/docs/dist/',
publicPath: '/vue/docs/dist/',
filename: '[name].js'
},
resolve: {
+7 -7
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -48,9 +48,9 @@ router.beforeEach((route, redirect, next) => {
router.afterEach((route) => {
if (route.path !== '/') {
const sideNavBox = document.querySelector('.side-nav');
const pageContentBox = document.querySelector('.page-content');
pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
// const sideNavBox = document.querySelector('.side-nav');
// const pageContentBox = document.querySelector('.page-content');
// pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
}
});
+1 -1
View File
@@ -11,6 +11,6 @@
<app></app>
</div>
<script src="/docs/dist/zanui-examples.js"></script>
<script src="/vue/docs/dist/zanui-examples.js"></script>
</body>
</html>
+1 -1
View File
@@ -11,6 +11,6 @@
<app></app>
</div>
<script src="/docs/dist/zanui-docs.js"></script>
<script src="/vue/docs/dist/zanui-docs.js"></script>
</body>
</html>