Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问怎么在webpack环境中实现分模块引入? #51

Closed
aweiu opened this issue Feb 16, 2017 · 1 comment
Closed

请问怎么在webpack环境中实现分模块引入? #51

aweiu opened this issue Feb 16, 2017 · 1 comment

Comments

@aweiu
Copy link

aweiu commented Feb 16, 2017

这个我觉得还是挺有必要的,有时候就只想用一点点。。
比如我想这样:
import alert from 'weui.js/src/alert/alert'
但是vue的webpack配置中又忽略了node_modules,所以会编译不通过,因为该模块使用了es6语法

@BearJ
Copy link
Collaborator

BearJ commented Feb 23, 2017

@aweiu 好的,这个后期可以优化一下。目前更建议用cdn的版本哈~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants