Static GitHub Issues

[1008] Dynamic route parameter is always generated as optional

prev: Nuxt generate won't finish when there is mode: 'hash' in router
next: provide error in plugins context?

According to documentation route parameter should be generated as required when it's created by underscored directory. It is not.

structure

is generating:

	{
		path: "/ile-kosztuje/usluga/:service?",
		component: _6fec3b26,
		name: "ile-kosztuje-usluga-service"
	}
<!--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/c883">#c883</a>)</em></sub></div>