This commit is contained in:
Pan 2017-12-14 16:41:09 +08:00 committed by 花裤衩
parent cade4f9449
commit 12012e3b24
3 changed files with 9 additions and 7 deletions

View File

@ -9,8 +9,3 @@ export default {
name: 'app' name: 'app'
} }
</script> </script>
<style lang="scss">
// @import '~normalize.css/normalize.css';// normalize.css
@import './styles/index.scss'; // css
</style>

View File

@ -1,12 +1,19 @@
import Vue from 'vue' import Vue from 'vue'
import 'normalize.css/normalize.css'// A modern alternative to CSS resets
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'
import locale from 'element-ui/lib/locale/lang/en' import locale from 'element-ui/lib/locale/lang/en'
import '@/styles/index.scss' // global css
import App from './App' import App from './App'
import router from './router' import router from './router'
import store from './store' import store from './store'
import '@/icons' // icon import '@/icons' // icon
import '@/permission' // 权限 import '@/permission' // permission control
Vue.use(ElementUI, { locale }) Vue.use(ElementUI, { locale })

View File

@ -1,4 +1,4 @@
//覆盖一些element-ui样式 覆盖css样式可在这里添加 //to reset element-ui default css
.el-upload { .el-upload {
input[type="file"] { input[type="file"] {
display: none !important; display: none !important;