首次提交
This commit is contained in:
49
FrontCode2/sunshine_levy/src/main.js
Normal file
49
FrontCode2/sunshine_levy/src/main.js
Normal file
@@ -0,0 +1,49 @@
|
||||
// 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
|
||||
|
||||
/* eslint-disable no-new */
|
||||
const vm = new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
components: { App },
|
||||
template: '<App/>'
|
||||
})
|
||||
export default vm
|
||||
Reference in New Issue
Block a user