Static GitHub Issues

[1622] Manually reordering routes

prev: [bug] Unable to get started, basic template doesn't work.
next: node_modules not in root dir

Referencing vue-router issue: https://github.com/vuejs/vue-router/issues/703

Nuxt is doing this with routes:

		{
			path: "/",
			component: _50d71714,
			children: [
				{
					path: "",
					component: _0e9a02d2,
					name: "index"
				},
				{
					path: "dapps/:slug?",
					component: _40a1f196,
					name: "index-dapps-slug"
				}
			]
		},
                {
			path: "/dapps/:slug?",
			component: _57bef853,
			name: "dapps-slug"
		}

and I want to reorder them like this:

                {
			path: "/dapps/:slug?",
			component: _57bef853,
			name: "dapps-slug"
		},
		{
			path: "/",
			component: _50d71714,
			children: [
				{
					path: "",
					component: _0e9a02d2,
					name: "index"
				},
				{
					path: "dapps/:slug?",
					component: _40a1f196,
					name: "index-dapps-slug"
				}
			]
		}

Is it possible? This way, when I directly load /dapps/:slug, it will catch the first route and display a full page, but when I navigate to the child route, it will show a popup.

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