Static GitHub Issues

[810] Separate .vue into html, js and css files

prev: Global SASS loading not working
next: Custom routes with i18n

I was wondering if it's possible to have support separate files so that we can have better IDE autocompletion support for TypeScript or JS. Currently code intelligence is a problem with .vue files.

We can split the components into html, js and css by require (requiring) the html and css files - but with pages directory as it's translated to routes, I'm not sure how will the above work.

Also, having separated css and scss file means that we have to figure out how to write scoped css/scss as I'm not sure how to do it without css-modules currently.

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