php - Laravel 5 with Foundation 5 -


i installed foundation via bower under "resources/assets/bower_components".

i don't know _settings.scss file , put it.

my app.scss file has:

@import "../bower_components/foundation/scss/foundation"; @import "../bower_components/foundation/scss/normalize"; 

i can't javascript work. don't know why. in gulpfile i've combined javascript files 1 file app.js.

here gulpfile.

elixir(function(mix) {  var bowerpath = "resources/assets/bower_components/";  mix.sass(     [         "app.scss"     ],     "public/css",     {         includepaths: [             bowerpath + "foundation/scss"         ]     } )     .scripts(     [         "jquery/dist/jquery.js",         "fastclick/lib/fastclick.js",         "jquery.cookie/jquery.cookie.js",         "jquery-placeholder/jquery.placeholder.js",         "foundation/js/foundation.js"     ],     "public/js/app.js",     bowerpath ); }); 

here current project structure: http://postimg.org/image/jhppu3lab/0789eba0/

someone please help. i'm stuck , think i've done wrong along way. if can walk me through installing foundation 5 laravel 5 fresh laravel project, awesome!

for javascript, used mix.scripts's third argument set base path application root, seemed work better.

mix.scripts(sharedjs.concat([   'bower_components/jquery/dist/jquery.js',   'bower_components/fastclick/lib/fastclick.js',   'bower_components/jquery.cookie/jquery.cookie.js',   'bower_components/jquery-placeholder/jquery.placeholder.js',   'bower_components/foundation/js/foundation.js' ]), 'public/js/app.js', './'); 

Comments