Nuxt.js: [Question] Is there a way to dump all the routes(for debugging purposes)?

Created on 17 Jan 2018  路  4Comments  路  Source: nuxt/nuxt.js

I want to inspect what routes are set in the application, is there a way to accomplish this?

This question is available on Nuxt.js community (#c2278)

Most helpful comment

after build, you can inspect the ./nuxt/router.jsfile

routes: [
        {
            path: "/",
            component: _91346e10,
            name: "index"
        }, {
         ...
        }
]

All 4 comments

They are the bottom in the generated folder .nuxt/router.js

after build, you can inspect the ./nuxt/router.jsfile

routes: [
        {
            path: "/",
            component: _91346e10,
            name: "index"
        }, {
         ...
        }
]

Thanks, found that literally seconds ago :D

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

o-alexandrov picture o-alexandrov  路  3Comments

uptownhr picture uptownhr  路  3Comments

jaredreich picture jaredreich  路  3Comments

mikekidder picture mikekidder  路  3Comments

danieloprado picture danieloprado  路  3Comments