Answer the question
In order to leave comments, you need to log in
How to use npm downloaded libraries in laravel project?
I'm learning laravel but I don't understand where and how to store my css styles and js scripts in it, I installed normalize.css via npm but I can't access it from the template
link rel="stylesheet" href="../../node_modules/normalize.css/normalize.css">
this method does not work, tell me how to get access to this file
Answer the question
In order to leave comments, you need to log in
Via gulp. Install 1 CSS with styles. For example app.sass
. And inside it, import all these styles already, then through elixir
you get one file and connect it to the site
Here is an example when using Gulp + Sass.
@import "node_modules/slick-carousel/slick/slick.scss"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question