diff --git a/babel.config.js b/babel.config.js index ba17966..649b152 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,14 @@ module.exports = { presets: [ - '@vue/app' + '@vue/app', + ], + plugins: [ + [ + "component", + { + "libraryName": "element-ui", + "styleLibraryName": "theme-chalk" + } + ] ] } diff --git a/package.json b/package.json index 8dd34d9..e058601 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "@vue/cli-service": "^3.7.0", "@vue/eslint-config-standard": "^4.0.0", "babel-eslint": "^10.0.1", + "babel-plugin-component": "^1.1.1", "eslint": "^5.16.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-html": "^5.0.5", diff --git a/src/components/filter/NbFilterDate.vue b/src/components/filter/NbFilterDate.vue index f5660ee..f99e9da 100644 --- a/src/components/filter/NbFilterDate.vue +++ b/src/components/filter/NbFilterDate.vue @@ -1,17 +1,22 @@