Menu icon Foundation
Foundation 5 bower jQuery undefined

I've gone through all of the install steps and when I open the index.html from the "Foundation Compass Template" github project, jQuery is undefined. Modernizr, foundation.min, and the SASS -> CSS are all working but not jQuery. Just wondering what I missed.

Thanks for the help.

Foundation 5bowerjquery

I've gone through all of the install steps and when I open the index.html from the "Foundation Compass Template" github project, jQuery is undefined. Modernizr, foundation.min, and the SASS -> CSS are all working but not jQuery. Just wondering what I missed.

Thanks for the help.

Jay Kent over 5 years ago

Yes, looking at the 'kitchen sink' index file that is included in the bower_components directory, "bower_components/jquery/jquery.js" is the path but jquery.js is not there.

I just ended up pointing to the jquery.js file in the "bower_components/jquery/dist/" directory.

Rafi Benkual over 5 years ago

That is the file path you have for jquery.

It's located in the bower components folder:

<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/foundation/js/foundation.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>