You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
401 B
19 lines
401 B
<%_ if (rootOptions.vueVersion === '3') { _%>
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
|
|
createApp(App).mount('#app')
|
|
<%_ } else { _%>
|
|
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
new Vue({
|
|
<%_ if (doesCompile) { _%>
|
|
render: h => h(App),
|
|
<%_ } else { _%>
|
|
render: function (h) { return h(App) },
|
|
<%_ } _%>
|
|
}).$mount('#app')
|
|
<%_ } _%>
|
|
|