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.
12 lines
297 B
12 lines
297 B
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
|
|
// 导出一个工厂函数,用于创建新的
|
|
// 应用程序、router 和 store 实例
|
|
export function createApp () {
|
|
const app = new Vue({
|
|
// 根实例简单的渲染应用程序组件。
|
|
render: h => h(App)
|
|
})
|
|
return { app }
|
|
}
|