35 lines
710 B
JavaScript
Executable File
35 lines
710 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 Vuex from 'vuex';
|
|
|
|
import YDUI from 'vue-ydui';
|
|
import 'vue-ydui/dist/ydui.rem.css';
|
|
|
|
import vuescroll from 'vuescroll/dist/vuescroll-native';
|
|
import 'vuescroll/dist/vuescroll.css';
|
|
|
|
import http from "./http";
|
|
import store from "./vuex/index.js";
|
|
|
|
Vue.use(YDUI);
|
|
Vue.use(Vuex);
|
|
Vue.use(vuescroll);
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
Vue.prototype.$http = http;
|
|
|
|
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
store,
|
|
components: { App },
|
|
template: '<App/>'
|
|
});
|