Answer the question
In order to leave comments, you need to log in
How to install and use Fomantic-ui-less in Laravel?
I want to use FomanticUI (a fork of SemanticUI) in a Laravel project, in LESS format. The fomantic docs simply say npm install fomantic-ui-less . What to do next? How to compile it into single JS \ CSS files when building the Laravel front with the npm run dev command to the JS & CSS folder?
p/s PHPSTORM Development Environment
Answer the question
In order to leave comments, you need to log in
So import this fomantic in the main less-file, and use it as you need. And if you don't have styles at all, then create the main file in the right folder and specify in webpack.mix.js that you want to build this file.
https://laravel-mix.com/docs/6.0/less
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question