Live data from Hacker News

Plans for the Next Iteration of Vue.js

medium.com

151–152 of 152 posts

Re: Plans for the Next Iteration of Vue.js

#151

The ability to split Vue components into multiple (html, ts, scss) files in a single directory would be nice. I dislike the single file approach and it makes things like having nice syntax highlighting and completion more complex than it should be.

I do it like this: https://github.com/ktsn/vue-template-loader

There's also a plugin for VSCode that let's you switch between Button.js and Button.html for example.

Re: Plans for the Next Iteration of Vue.js

#152
I wish there was some sort of inbuilt support for template inheritance that you currently have to do with stuff like "pug."

Laravels blade templating engine does a great job at @extending templates from child to parent and it can be used for inspiration. Vue already has a slot tag so maybe then can add an extend tag for extending a parent template in a derived child template component.

Post reply on HN