Thursday, March 16, 2017

Laravel 5.4 Mix: How to use Bootstrap-sass (under the nodes_module) folder in my project?

Newbie Laravel user here.

I have the following lines in app.scss file (created automatically by Laravel):

@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
@import "variables";
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";

Question: How do I make use of Bootstrap in my project? I don't see it getting compiled or getting copied to my public/css folder. And in general, how do I pull in any packages in the nodes_module to my Laravel project using Mix. Thanks in advance!



via gibi

Advertisement