Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

我只要加入第三方组件库就会报错,不知道怎么回事 #15

Closed
busyhe opened this issue Dec 3, 2016 · 2 comments
Closed

Comments

@busyhe
Copy link

busyhe commented Dec 3, 2016

bootstrap bb8c77f…:50Uncaught TypeError: Cannot read property 'call' of undefined

@yaoyao1987
Copy link
Owner

@busyhe ,你是怎么引入第三方库的??贴下代码看一下

@busyhe
Copy link
Author

busyhe commented Dec 6, 2016

解决了,webpack配置的问题,在webapck issues上找到了解决方法,

new webpack.optimize.CommonsChunkPlugin({
      name: 'manifest',
      chunks: ['vendor']
    })

把这行代码删了,
然后就正常了

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

No branches or pull requests

2 participants