13 lines
243 B
JavaScript
13 lines
243 B
JavaScript
|
import Vue from 'vue'
|
||
|
import App from './components/App.vue'
|
||
|
|
||
|
new Vue({
|
||
|
render(h) {
|
||
|
return h(App, {
|
||
|
props: {
|
||
|
name: this.$el.getAttribute('data-name'),
|
||
|
},
|
||
|
})
|
||
|
},
|
||
|
}).$mount('#app');
|