diff --git a/docs/index.js b/docs/index.js index 7dba72a00..4cfc2b19e 100644 --- a/docs/index.js +++ b/docs/index.js @@ -39,7 +39,7 @@ router.beforeEach((route, redirect, next) => { window.scrollTo(0, 0); } - const pathname = process.env.NODE_ENV === 'production' ? '/vue' : '/'; + const pathname = process.env.NODE_ENV === 'production' ? '/vue/' : '/'; if (isMobile()) { window.location.replace(pathname + 'examples.html#/'); return;