123456789101112131415161718192021222324252627282930313233 |
- import Vue from 'vue'
- import App from './App'
- import router from './router'
- import ElementUI from 'element-ui'
- import 'element-ui/lib/theme-chalk/index.css'
- import '@/assets/css/index.css'
- import moment from 'moment'
- import './config/rem.js'
- import './config/globle.js'
- import myaxios from '@/plugins/MyAxios'
- import MyBreadcrumb from '@/components/MyBreadcrumb'
- import 'babel-polyfill'
- Vue.use(ElementUI)
- Vue.use(myaxios)
- Vue.component(MyBreadcrumb.name, MyBreadcrumb)
- Vue.filter(`fmtDate`, (value, formatString) => {
- formatString = formatString || `YYYY-MM-DD HH:mm:ss`
- return moment(value).format(formatString)
- })
- Vue.config.productionTip = false
- new Vue({
- el: `#app`,
- router,
- components: { App },
- template: `<App/>`
- })
|