Answers for "require assets php laravel"

PHP
2

laravel asset

// To access laravel assets
asset('sp-icon/Vodacom-Original.svg')

// To echo the value use braces
{{ asset('you-are-in-public/your-file-name') }}
Posted by: Guest on September-08-2021
0

laravel compile assets

// Run all Mix tasks...
npm run dev

// or,   Run all Mix tasks and minify output...
npm run prod

// or,   Watch assets for change
npm run watch-poll
Posted by: Guest on July-26-2021

Browse Popular Code Answers by Language