![]() Package will auto-discover and you can use this Facade anywhere in your application Stylesheet // app/views/hello.blade. Php artisan vendor:publish -provider="Oriceon\Minify\MinifyServiceProvider" -force Options Minify your PHP files online by pasting some PHP code into the text area below, or by opening multiple PHP files at once to be combined in the output. All CSS/JS passed along, will be combined into 1 minified file. If you run npm run prod to compile your assets they will be minified - for production/speed purposes. Available methods, for both CSS and JS minifier, are: construct(/ overload paths /) The object constructor accepts 0, 1 or multiple paths of files, or even complete CSS/JS content, that should be minified. If youre using the default Laravel npm commands, npm run dev / npm run watch will not minify your assets - for debugging purpose. This process can be a little tough, this package simplies this process and automates it.īegin by installing this package through Composer. Laravel 6 was released only some months ago.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |