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.
18 lines
411 B
18 lines
411 B
// 导入Vue框架
|
|
import Vue from 'vue'
|
|
// 导入根组件App.vue
|
|
import App from './App.vue'
|
|
// 导入路由配置
|
|
import router from "@/router";
|
|
|
|
// 关闭生产环境提示
|
|
Vue.config.productionTip = false
|
|
|
|
// 创建Vue实例
|
|
new Vue({
|
|
// 注入路由配置
|
|
router,
|
|
// 渲染函数,将App组件渲染到页面
|
|
render: h => h(App),
|
|
// 挂载到id为app的DOM元素上
|
|
}).$mount('#app')
|