johannesdz
johannesdz

Reputation: 453

Disable default nuxt.js routing

Is it possible to disable the default routing of nuxt?

I have an spa, which should run on different subfolders/urls, but somehow the js is not kicking in properly. And i think because nuxt takes over the routing.

Or do you have other ideas how to get this running?

Upvotes: 6

Views: 2517

Answers (1)

Franey
Franey

Reputation: 4354

Nuxt's implicit dynamic routing is a bit tricky to get used to.

It sounds like you'd appreciate nuxt-community's router-module, which allows you to specify routes in a router.js file like a standard Vue.js project.

Upvotes: 5

Related Questions