Commit cd1eef98 by 张立顺

去除flex.css

1 parent feef32c3
// Element // Element
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css' // import 'element-ui/lib/theme-chalk/index.css'
// flex 布局库 // flex 布局库
import 'flex.css' // import 'flex.css'
// 组件 // 组件
import '@/components' import '@/components'
// svg 图标 // svg 图标
import '@/assets/svg-icons' import '@/assets/svg-icons'
// 指令 // 指令
import '@/directives' import '@/directives'
// 过滤器 // 过滤器
import '@/filters' import '@/filters'
// 功能插件 // 功能插件
import pluginError from '@/plugin/error' import pluginError from '@/plugin/error'
import pluginOpen from '@/plugin/open' import pluginOpen from '@/plugin/open'
export default { export default {
async install(Vue, options) { async install(Vue, options) {
// 设置为 false 以阻止 vue 在启动时生成生产提示 // 设置为 false 以阻止 vue 在启动时生成生产提示
// https://cn.vuejs.org/v2/api/#productionTip // https://cn.vuejs.org/v2/api/#productionTip
Vue.config.productionTip = false Vue.config.productionTip = false
// 当前环境 // 当前环境
Vue.prototype.$env = process.env.NODE_ENV Vue.prototype.$env = process.env.NODE_ENV
// 当前的 baseUrl // 当前的 baseUrl
// Vue.prototype.$baseUrl = process.env.BASE_URL // Vue.prototype.$baseUrl = process.env.BASE_URL
// 当前版本 // 当前版本
Vue.prototype.$version = process.env.VUE_APP_VERSION Vue.prototype.$version = process.env.VUE_APP_VERSION
// 构建时间 // 构建时间
Vue.prototype.$buildTime = process.env.VUE_APP_BUILD_TIME Vue.prototype.$buildTime = process.env.VUE_APP_BUILD_TIME
// 事件传递 // 事件传递
Vue.prototype.$event = new Vue() Vue.prototype.$event = new Vue()
// Element // Element
Vue.use(ElementUI, { size: 'medium', zIndex: 3000 }) Vue.use(ElementUI, { size: 'medium', zIndex: 3000 })
// 插件 // 插件
Vue.use(pluginError) Vue.use(pluginError)
Vue.use(pluginOpen) Vue.use(pluginOpen)
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!