Thursday, April 13, 2017

link blade.php file to CSS laravel 5.x

i put my view.blade.php file in resources\views\admin\login\view.blade.php and using this code below to link it to css <link href="{!! HTML::style('css/style.css') !!}" rel="stylesheet"> my CSS file in folder public\css\style.css

I also add "laravelcollective/html": "~5.0" under required key in composer.json but it still not working. another question: is it neccessary to run php artisan serve and run view.blade.php?



via Đức Hợp Trần

Advertisement