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

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. // 导入Vue框架
  2. import Vue from 'vue'
  3. // 导入根组件App.vue
  4. import App from './App.vue'
  5. // 导入路由配置
  6. import router from "@/router";
  7. // 关闭生产环境提示
  8. Vue.config.productionTip = false
  9. // 创建Vue实例
  10. new Vue({
  11. // 注入路由配置
  12. router,
  13. // 渲染函数,将App组件渲染到页面
  14. render: h => h(App),
  15. // 挂载到id为app的DOM元素上
  16. }).$mount('#app')