Files
zsxt_nbzs_h5/FrontCode2/sunshine_levy/src/main.js
2021-09-10 13:51:30 +08:00

50 lines
956 B
JavaScript

// 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 './assets/reset.css';
import 'lib-flexible/flexible';
import Vue from 'vue'
import App from './App'
import router from './router'
import { Button, NavBar, Cell, CellGroup } from 'vant';
Vue.use(Button).use(NavBar).use(Cell).use(CellGroup);
import { Image as VanImage } from 'vant';
Vue.use(VanImage);
import { Col, Row } from 'vant';
Vue.use(Col);
Vue.use(Row);
import { Grid, GridItem } from 'vant';
Vue.use(Grid);
Vue.use(GridItem);
import { Icon } from 'vant';
Vue.use(Icon);
import { List } from 'vant';
Vue.use(List);
import { Divider } from 'vant';
Vue.use(Divider);
Vue.config.productionTip = false
import md5 from 'js-md5'
Vue.prototype.$md5 = md5
/* eslint-disable no-new */
const vm = new Vue({
el: '#app',
router,
components: { App },
template: '<App/>'
})
export default vm