Open livevasiliy opened 4 years ago
Simple add:
{
router: {
extendRoutes(routes, resolve) {
routes.forEach((route) => {
route.path = '/admin' + route.path;
});
return routes;
}
}
}
Hello @skyrpex !
I want change base route for nuxt app via configuration field in nuxt.config.js like this:
But after change this settings I get error 404 _nuxt directory. I want startup my nuxt app with next route:
localhost:8000/admin/