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.