Laravel Asset Notes @WIP

Posted: 2017-12-16 18:59:32

This is just a reminder area of all the minor details as I find them that I need to remember


yarn add font-awesome

Then in my resources/assets/sass/app.scss

// Fonts
@import url(",400,600");
// Variables
@import "variables";
// Bootstrap
@import "~bootstrap-sass/assets/stylesheets/bootstrap";
@import "~font-awesome/css/font-awesome"; 

My webpack is the default

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css');

set to go!

If using Less

@import "./../../../node_modules/font-awesome/less/font-awesome";