Static GitHub Issues

[799] problemas with root

prev: when I use typescript in layout file, error raise on page reload.
next: Document is not defined in Vue mixin? (help wanted)

Hi.

I have this pages tree directory.

captura de pantalla de 2017-05-28 00-50-45

and the router code

 routes: [
  		{
			path: "/blog-admin",
			component: _0d24c77e,
			name: "blog-admin"
		},
		{
			path: "/categorias",
			component: _df637d06,
			name: "categorias"
		},
		{
			path: "/blog-admin/entradas",
			component: _316be920,
			name: "blog-admin-entradas"
		},
		{
			path: "/busqueda/:page?",
			component: _a1f49812,
			name: "busqueda-page"
		},
		{
			path: "/entrada/:id?/:entry?",
			component: _7cd36a0c,
			name: "entrada-id-entry"
		},
		{
			path: "/categoria/:name?/:page?",
			component: _3df4f37a,
			name: "categoria-name-page"
		},
		{
			path: "/:page",
			component: _39302f84,
			name: "page"
		}
    ]
  

the page _page.vue should be optional right? But nuxt doesn't generate the route correctly. Its a bug? or is a bad configuration?

thx

<!--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/c686">#c686</a>)</em></sub></div>