ktsn / vue-designer

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

Injected component code should not be self-closing style #52

Closed ktsn closed 6 years ago

ktsn commented 6 years ago

Currently, the component that injected by D&D is inserted as self-closing tag (<MyComp/>). But I noticed it is more convenient to inject as separated syntax (<MyComp></MyComp>).

The most of cases, I edit the injected component to separate the start tag and end tag to put slot content.