大宝管理后台代码
zzzz
2024-04-08 172cdbe56c78930a13f648888e7945dc63589c75
first commit
4 files modified
1 files added
7007 ■■■■ changed files
. babelrc 12 ●●●●● patch | view | raw | blame | history
package.json 1 ●●●● patch | view | raw | blame | history
src/global.less 8 ●●●●● patch | view | raw | blame | history
src/main.js 4 ●●●● patch | view | raw | blame | history
yarn.lock 6982 ●●●● patch | view | raw | blame | history
. babelrc
New file
@@ -0,0 +1,12 @@
{
  "presets": [["es2015", { "modules": false }]],
  "plugins": [
    [
      "component",
      {
        "libraryName": "element-ui",
      }
    ]
  ]
}
package.json
@@ -57,6 +57,7 @@
    "@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",
src/global.less
@@ -95,3 +95,11 @@
    }
  }
}
.el-image{
  // img{
  //   width: 100%;
  //   height: 100%;
  // }
}
src/main.js
@@ -23,10 +23,10 @@
// 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)
yarn.lock
Diff too large