Answer the question
In order to leave comments, you need to log in
How to collect several different js/css files in Laravel?
How can I collect several different js and css files? For example, for the admin panel, some scripts and styles are needed, for the main site others, and in fact there is no point in stuffing everything into one app.js and app.css.
Tried like this:
mix.js(['resources/js/app.js', 'resources/js/admin.js'], 'public/js')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question