Menu icon Foundation
Custom javascript files not compiling in app.js with Zurb Template

From what I can gather on this page of the docs (https://foundation.zurb.com/sites/docs/starter-projects.html#javascript-compilation) it sounds like I can put a custom javascript file in src/assets/javascript and it will get compiled in app.js. However, that is not working for me. My custom .js file simply does not get put into app.js. Any ideas why? This is just a straight up fresh install of Foundation and using the Zurb Template.

javascriptZURB Template

From what I can gather on this page of the docs (https://foundation.zurb.com/sites/docs/starter-projects.html#javascript-compilation) it sounds like I can put a custom javascript file in src/assets/javascript and it will get compiled in app.js. However, that is not working for me. My custom .js file simply does not get put into app.js. Any ideas why? This is just a straight up fresh install of Foundation and using the Zurb Template.

sofia watson 12 months ago

I have a few custom JavaScript-files that is to be added in the project. Some built by myself and some libraries that could be called from Bower.

I've added Instafeed.js to Bower-components and want to add that to some of the pages and post types in the site. To make it work, I added it in a custom footer.php.

I will also use probably use some libraries on all pages (maybe Isotope or similar).
Some of these depend on JQuery and I noticed that they have to be loaded after JointsWP JQuery in order to work.

Best Regards,

Sofia Watson ( Expert Assignment Writers )

CarterGoodwin 11 months ago

this is so use full post

MrJoe87 10 months ago
John Morre 7 months ago

This is an awesome template. Thank you for this thread.  Check out 10 Best Face Massager Machine Reviews from here.