Static GitHub Issues

[58] Register new route

prev: '.vue' file extension does not automatically resolve for component imports.
next: Strange behavior with applied styles in loaded page from server

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.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c45">#c45</a>)</em></sub></div>