A
A
Alex2021-02-22 17:42:13
npm
Alex, 2021-02-22 17:42:13

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

1 answer(s)
D
Daniil Vasilyev, 2021-02-22
@hello_my_name_is_dany

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 question

Ask a Question

731 491 924 answers to any question