4 files modified
1 files added
| New file |
| | |
| | | { |
| | | "presets": [["es2015", { "modules": false }]], |
| | | "plugins": [ |
| | | [ |
| | | "component", |
| | | { |
| | | "libraryName": "element-ui", |
| | | |
| | | } |
| | | ] |
| | | ] |
| | | } |
| | |
| | | "@vue/eslint-config-standard": "^4.0.0", |
| | | "@vue/test-utils": "^1.3.0", |
| | | "babel-eslint": "^10.1.0", |
| | | "babel-plugin-component": "^1.1.1", |
| | | "babel-plugin-import": "^1.13.3", |
| | | "babel-plugin-transform-remove-console": "^6.9.4", |
| | | "commitizen": "^4.2.4", |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | .el-image{ |
| | | // img{ |
| | | // width: 100%; |
| | | // height: 100%; |
| | | // } |
| | | } |
| | |
| | | // window['console']['log'] = function () {} // global style |
| | | |
| | | Vue.config.productionTip = false |
| | | import ElementUI from 'element-ui' |
| | | import { Image } from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | Vue.use(ElementUI) |
| | | |
| | | Vue.use(Image) |
| | | Vue.prototype.$host = process.env.VUE_APP_API_BASE_URL |
| | | // mount axios to `Vue.$http` and `this.$http` |
| | | Vue.use(VueAxios) |