mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +08:00
chore: rebuild docs
This commit is contained in:
commit
05efc92b40
@ -29,7 +29,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: './docs/dist/',
|
path: './docs/dist/',
|
||||||
publicPath: '/docs/dist/',
|
publicPath: '/vue/docs/dist/',
|
||||||
filename: '[name].js'
|
filename: '[name].js'
|
||||||
},
|
},
|
||||||
resolve: {
|
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) => {
|
router.afterEach((route) => {
|
||||||
if (route.path !== '/') {
|
if (route.path !== '/') {
|
||||||
const sideNavBox = document.querySelector('.side-nav');
|
// const sideNavBox = document.querySelector('.side-nav');
|
||||||
const pageContentBox = document.querySelector('.page-content');
|
// const pageContentBox = document.querySelector('.page-content');
|
||||||
pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
|
// pageContentBox.style.height = Math.max(sideNavBox && sideNavBox.clientHeight, pageContentBox && pageContentBox.clientHeight) + 'px';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
<app></app>
|
<app></app>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/docs/dist/zanui-examples.js"></script>
|
<script src="/vue/docs/dist/zanui-examples.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
<app></app>
|
<app></app>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/docs/dist/zanui-docs.js"></script>
|
<script src="/vue/docs/dist/zanui-docs.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user