Lucas Lopes
Lucas Lopes

Reputation: 1435

Import assets from bower_components

I installed AdminLTE in Laravel 5.2 by Bower, but cant import assets in view.

I follow step-by-step and my assets not work.

app\resources\views\admin_template.blade.php

<link href="{{ asset("/bower_components/AdminLTE/bootstrap/css/bootstrap.min.css") }}" rel="stylesheet" type="text/css" />

The files they are bower_components\AdminLTE\bootstrap\css\bootstrap.min.css

Upvotes: 2

Views: 520

Answers (1)

Akshay Vinchurkar
Akshay Vinchurkar

Reputation: 497

try this I think maybe double quotes is the problem here you can not use right there

<link href="{{ asset('/bower_components/AdminLTE/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />

Upvotes: 1

Related Questions