Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <component :is="my-component"></component>
- Vue.component('my-component', {
- template: '<div>{{something}}</div>',
- props: { something: String }
- })
- <component :is="my-component" :something="text"></component>
Add Comment
Please, Sign In to add comment