mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: rebuild docs
This commit is contained in:
commit
05efc92b40
@ -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
14
docs/dist/0.js
vendored
File diff suppressed because one or more lines are too long
4
docs/dist/zanui-docs.js
vendored
4
docs/dist/zanui-docs.js
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/zanui-examples.js
vendored
2
docs/dist/zanui-examples.js
vendored
File diff suppressed because one or more lines are too long
@ -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';
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user