Former-commit-id: 6d7a4adb3f160ed8ecc06ea9b3f566bffdcc086b
This commit is contained in:
liyang
2018-12-16 19:44:44 +08:00
parent 55ea4dc64c
commit 9e12e91c38
174 changed files with 0 additions and 35568 deletions
-30
View File
@@ -1,30 +0,0 @@
// Element
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// flex 布局库
import 'flex.css'
// 组件
import '@/components'
// svg 图标
import '@/assets/svg-icons'
// 功能插件
import pluginError from '@/plugin/error'
import pluginLog from '@/plugin/log'
import pluginOpen from '@/plugin/open'
export default {
async install (Vue, options) {
// 设置为 false 以阻止 vue 在启动时生成生产提示。https://cn.vuejs.org/v2/api/#productionTip
Vue.config.productionTip = false
// 当前环境
Vue.prototype.$env = process.env.NODE_ENV
// 当前的 baseUrl
Vue.prototype.$baseUrl = process.env.BASE_URL
// Element
Vue.use(ElementUI)
// 插件
Vue.use(pluginError)
Vue.use(pluginLog)
Vue.use(pluginOpen)
}
}