| | |
| | | import ElementUI from 'element-ui' |
| | | import VueClipboard from 'vue-clipboard2' // 复制 |
| | | import state from './event' |
| | | import Vant from 'vant'; |
| | | import 'vant/lib/index.css'; |
| | | import { Swipe, SwipeItem, Skeleton, Switch } from 'vant'; |
| | | import './assets/css/style.css'; |
| | | import Vant, { Swipe, SwipeItem, Skeleton, Switch, Notify, Tab, Tabs, Popup, DatetimePicker } from 'vant' |
| | | import 'vant/lib/index.css' |
| | | import moment from 'moment' |
| | | |
| | | |
| | | |
| | | |
| | | import i18n from '@/locales' |
| | | import './assets/css/style.css' |
| | | |
| | | import 'bootstrap/dist/css/bootstrap.min.css' |
| | | import 'mint-ui/lib/style.css' |
| | |
| | | import animated from 'animate.css' // npm install animate.css --save安装,在引入 |
| | | |
| | | import '../static/css/public2.css' |
| | | import { Tab, Tabs, Popup, DatetimePicker } from 'vant'; |
| | | import locale from 'element-ui/lib/locale/lang/en' // lang i18n |
| | | import echarts from 'echarts' |
| | | Vue.prototype.$echarts = echarts; |
| | | |
| | | Vue.prototype.$echarts = echarts |
| | | Vue.prototype.$moment = moment |
| | | // import VueTouch from 'vue-touch' |
| | | Vue.use(Swipe); |
| | | Vue.use(SwipeItem); |
| | | Vue.use(Skeleton); |
| | | Vue.use(Swipe) |
| | | Vue.use(SwipeItem) |
| | | Vue.use(Skeleton) |
| | | Vue.use(animated) |
| | | Vue.use(ElementUI) |
| | | Vue.use(VueClipboard) |
| | | Vue.use(ElementUI, { locale }) |
| | | Vue.use(ElementUI, { |
| | | size: 'medium', // set element-ui default size |
| | | i18n: (key, value) => i18n.t(key, value) |
| | | }) |
| | | |
| | | // Vue.use(VueTouch, { name: 'v-touch' }) |
| | | // // Vue.prototype.$md5 = md5 |
| | |
| | | // threshold: 100 // 手指左右滑动距离 |
| | | // } |
| | | |
| | | Vue.use(Vant); |
| | | Vue.use(Vant) |
| | | Vue.use(Mint) |
| | | Vue.use(Tab); |
| | | Vue.use(Tabs, Popup, DatetimePicker, Switch); |
| | | Vue.use(Tab) |
| | | // Vue.prototype._i18n = i18n |
| | | Vue.use(Tabs, Popup, DatetimePicker, Switch, Notify) |
| | | Vue.component('icon', Icon) |
| | | Vue.config.productionTip = false |
| | | Object.keys(filters).forEach(key => { |
| | |
| | | |
| | | new Vue({ |
| | | el: '#app', |
| | | // i18n, |
| | | store, |
| | | router, |
| | | axios, |