diff --git a/docs/components/mobile-computed.js b/docs/components/mobile-computed.js index b59fb80e9..e052c93bb 100644 --- a/docs/components/mobile-computed.js +++ b/docs/components/mobile-computed.js @@ -7,7 +7,11 @@ export default { computed: { mobileUrl() { - return '/examples.html#' + location.pathname.slice(4); + if (process.env.NODE_ENV === 'production') { + return '/vue/examples#' + location.pathname.slice(4); + } else { + return '/examples.html#' + location.pathname.slice(4); + } } },