chore: rebuild docs

This commit is contained in:
jiangruowei 2017-03-22 17:19:38 +08:00
commit 05efc92b40
7 changed files with 16 additions and 16 deletions

View File

@ -29,7 +29,7 @@ module.exports = {
},
output: {
path: './docs/dist/',
publicPath: '/docs/dist/',
publicPath: '/vue/docs/dist/',
filename: '[name].js'
},
resolve: {

14
docs/dist/0.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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';
}
});

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>

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>