You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When in production mode, I want to install the kitchen sink example in a folder on my server but I stumble into some problems.
I do this in my nuxt config router: { base: '/dist/' },
When I do this I have two problems :
the routing when the project is built doesn't take this neww base into account so when going to http://localhost:3000/dist, it displays the 404.vue page. (I can manually add it in routes.js though)
if I add the prefix manually in routes.js (/lib/templates/framwork7), all my pages links doesn't take into account the prefix either.
Is there a way I can cleanly change the base url ?
The text was updated successfully, but these errors were encountered:
Hi,
When in production mode, I want to install the kitchen sink example in a folder on my server but I stumble into some problems.
I do this in my nuxt config
router: { base: '/dist/' },
When I do this I have two problems :
the routing when the project is built doesn't take this neww base into account so when going to http://localhost:3000/dist, it displays the 404.vue page. (I can manually add it in routes.js though)
if I add the prefix manually in routes.js (/lib/templates/framwork7), all my pages links doesn't take into account the prefix either.
Is there a way I can cleanly change the base url ?
The text was updated successfully, but these errors were encountered: