Home

Issue: 58

Register new route

[issue link]

I created a page file and linked to it using the <router-link> element, but it 404s.

I see in the .nuxt folder there are some routes defined e.g.

const _3cb81d92 = process.BROWSER_BUILD ? () => System.import('/Users/heydonpickering/repositories/project-folder/pages/about.vue') : require('/Users/heydonpickering/repositories/project-folder/pages/about.vue')

These are clearly added dynamically on webpack build, but I don’t know where to add a new one?

Many thanks.

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