I'm trying to get ZURB Foundation 6.4.1 to work with Angular 4 but I'm failing miserably.
I am following this tutorial http://shermandigital.com/blog/zurb-foundation-with-angular-cli/ but it only works with Foundation 6.3.
Thank you for your help.
I'm trying to get ZURB Foundation 6.4.1 to work with Angular 4 but I'm failing miserably.
I am following this tutorial http://shermandigital.com/blog/zurb-foundation-with-angular-cli/ but it only works with Foundation 6.3.
Thank you for your help.
The answer by @Raphael ABADIE-MOREAU works but in the latest version of foundation sites which is 6.5.0 at the time of me posting this comment, some of it is broken, this is what i used:
"styles": [
"../node_modules/foundation-sites/dist/css/foundation.css",
"styles.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/foundation-sites/dist/js/foundation.min.js"
],
also you will notice that jquery is not imorted from foundation sites, you will need to install it seperately, and make sure jquery comes before foundation.min.js.
to get the scripts installed into node_modules you can type this into cmd/terminal:
npm i foundation-sites jquery --save
to install both foundation-sites and jquery.