babel-plugin-component
babel-plugin-component copied to clipboard
Modular element-ui build plugin for babel.
It would be nice to unlock the version of @babel/* dependencies required by this module. Related to: #44
Fixes #48
使用 `import { Button as Ebutton } from 'element-ui'` 报错 报错内容如图 ![image](https://cloud.githubusercontent.com/assets/8351695/25111830/eedcb99e-241f-11e7-8eae-e4dffe4c581d.png) babelrc 配置 ``` { "presets": [], "plugins": [ "transform-vue-jsx", ["component",[{ "libraryName": "element-ui", "styleLibraryName": "theme-default" }]]] } ``` webpack...
I'm using babel-plugin-component here's my import `import {CanvasPoster} from 'ui-lib'` but when I using this: `new CanvasPoster()` it says > myPoster.vue?7d2b:33 Uncaught (in promise) ReferenceError: CanvasPoster is not defined but...
app.js 中没有使用 element-ui 插件 ``` import Vue from 'vue' import App from './App.vue' import store from './store' import router from './router' import { sync } from 'vuex-router-sync' import * as...
Hi, Since the license of this software seems to be MIT license, could you provide a formal License document and a Copyright Notice for compliance purpose? Thank you.
#40
在用其他开源ui时想到使用该库做动态引入样式, 但是其他开源库的css. 不一定严格一个style文件对应每一个组件, 添加一个配置来关闭部分组件动态导入css的功能
fix #38