Foundation Scripts not loading (custom theme)

Benoti

Yes, that was it! Seems app.js needs to be the last item loaded. Here is the final function with a couple of changes for anyone interested:

function foundation_scripts() {

wp_deregister_script('jquery');

wp_register_script('jquery', get_template_directory_uri().'/js/vendor/jquery.js', false);
wp_enqueue_script('jquery');
wp_enqueue_script('foundation-js', get_template_directory_uri().'/js/vendor/foundation.js', array('jquery'), false, true);
wp_enqueue_script('what-input', get_template_directory_uri().'/js/vendor/what-input.js', false, true);
wp_enqueue_script('app', get_template_directory_uri().'/js/app.js', array('jquery', 'foundation-js'), false, true); }

tech