start_sf5_project/app/assets/vue.js

13 lines
243 B
JavaScript
Raw Normal View History

2021-02-19 21:33:23 +00:00
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');