bower-webpack-plugin
bower-webpack-plugin copied to clipboard
jQuery Plugins
I'm having trouble figuring out how to add libraries that are added to jQuery, for example MaterializeCSS.
This is the error I'm getting:
Uncaught TypeError: $(...).dropdown is not a function
My plugins in my config looks like this:
plugins: [
new BowerWebpackPlugin(),
new webpack.ProvidePlugin({
$: 'jquery',
Vue: 'vue',
VueResource: 'vue-resource',
VueRouter: 'vue-router'
})
],