Static GitHub Issues

[78] Dash in layout filenames

prev: Store generation
next: Vue Material integration

If layout component file name contains special characters, this leads to incorrect App.vue generation: as an example: (layouts/docs-components.vue)

let layouts = {
  _docs-components: process.BROWSER_BUILD ? () => System.import('...docs-components.vue') : require('...docs-components.vue'),
}

This throws syntax errors. keys can be easily quated to avoid this problem.

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