I'm probably just being dense here, but how can I use Webpack to use npm (package.json) to pull down latest Zurb Foundation and use it in the bundle?
I see examples, for example here, that demonstrate Zurb and Webpack together, but they always seem to use Bower to get foundation. I'd like to eliminate Bower from my workflow and use straight npm+webpack (or +gulp if necessary).
Thoughts?
I guess maybe all I really need is an example of package.json that pulls in latest Zurb foundation.
I had the same issue, I wanted to drop bower, so I started with Foundation 6.
There were some tricky parts, but I got it working now and created a boilerplate project: https://github.com/timaschew/r3-foundation-boilerplate
The project uses Redux and React, but you should extract the most important stuff from the webpack.config and the entry point
Summary of the tricky parts
npm i foundation-sites
npm i jquery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With