Static GitHub Issues

[235] route list upside down in 0.9.8

prev: i18n example error
next: i18n - Compile Error when try to render html content with {{{ $t('mytranslation')}}}

I have a pages structure like

pages/
  - shop/
    - index.vue
    - _category.vue

In 0.9.7 routes, it will be generated to

{
	path: "/shop",
	component: _2a02d111,
	name: "shop"
},
{
	path: "/shop/:category?",
	component: _7e4de1c2,
	name: "shop-category"
},

But in 0.9.8, it became upside down

group

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