Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // const componentClass = Vue.extend(LoadingWidget)
- // const instance = new componentClass({
- // propsData: { type: 'primary' }
- // })
- // instance.$mount()
- const profile = Vue.extend({
- template: '<p>{{firstName}} {{lastName}} aka {{alias}}</p>',
- data() {
- return {
- firstName: 'Walter',
- lastName: 'White',
- alias: 'Heisenberg'
- }
- }
- })
- const instance = new profile({
- propsData: { type: 'primary' }
- })
- instance.$mount()
- this.headerSlot[0].appendChild(instance.$el)
Add Comment
Please, Sign In to add comment