ktsn / vue-designer

Vue component design tool
https://marketplace.visualstudio.com/items?itemName=ktsn.vue-designer
MIT License
368 stars 22 forks source link

feat: support rendering scoped slots #47

Closed ktsn closed 6 years ago

ktsn commented 6 years ago

This PR adds support for scoped slots rendering.

As the implementation is a bit messy, we need to refactor it later. I guess, the attribute field of element AST should be a hash map instead of an array because I write like attributes.find(attr => attr.name === '....') many times.