镜像自地址
https://github.com/xming521/CTAI.git
已同步 2025-12-09 08:06:48 +00:00
36 行
873 B
Python
36 行
873 B
Python
// The Vue build version to load with the `import` command
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
import Vue from 'vue'
|
|
import App from './App'
|
|
import VueRouter from 'vue-router'
|
|
import axios from 'axios'
|
|
import Element from 'element-ui'
|
|
import echarts from "echarts";
|
|
|
|
Vue.prototype.$echarts = echarts;
|
|
import '../node_modules/element-ui/lib/theme-chalk/index.css'
|
|
import '../src/assets/style.css'
|
|
import './theme/index.css'
|
|
|
|
Vue.use(Element)
|
|
Vue.config.productionTip = false
|
|
Vue.use(VueRouter)
|
|
Vue.prototype.$http = axios
|
|
|
|
const router = new VueRouter({
|
|
routes: [
|
|
{path: "/App", component: App, meta: {title: "肿瘤辅助诊断系统"},},
|
|
],
|
|
mode: "history"
|
|
})
|
|
|
|
// // 全局注册组件
|
|
Vue.component("App", App);
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
render: h => h(App)
|
|
})
|