Files
ClassContent/历届学生/苏琪/2019-06-25/vue/src/main.js
2024-09-27 02:06:13 +08:00

26 lines
483 B
JavaScript
Executable File

// 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 router from './router'
import Vant from 'vant'
import 'vant/lib/index.css'
import http from "./http"
Vue.prototype.http = http
Vue.use(Vant)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})