// routerBase will always get '/'
correctwrong// @vuepress/core/lib/client/app.js
export function createApp (isServer) {
const routerBase = typeof window !== 'undefined'
? window.__VUEPRESS_ROUTER_BASE__
: (siteData.routerBase || siteData.base)
const router = new Router({
base: routerBase,
With version v1.0.0-alpha.44 I was using base in my config which was working fine.
Now in version v1.0.0-alpha.46 it doesn't work anymore, I get a 404 if I want to access the url which is specified via base. But the page works if I manually open /.
For anyone else who wants to fix this locally: you need to downgrade vuepress and core:
npm i [email protected] @vuepress/[email protected]
@timaschew thanks!
@ulivz
Can you look into this regression?
Most helpful comment
For anyone else who wants to fix this locally: you need to downgrade vuepress and core:
npm i [email protected] @vuepress/[email protected]