AdminBSBMaterialDesign icon indicating copy to clipboard operation
AdminBSBMaterialDesign copied to clipboard

How to integrate this to laravel?

Open CHOMNANP opened this issue 7 years ago • 4 comments

I love this template. How do I integrate this to Laravel?

CHOMNANP avatar Dec 01 '17 08:12 CHOMNANP

Hi CHOMNANP.

Download the BSB files and put this in the public folder of your current project. Make sure you use the right file structure from their site: (css files in the css folder , javascript files in js folder and so on) https://gurayyarar.github.io/AdminBSBMaterialDesign/documentation/#/file-structure

Then just import your css files and script files. A example is like this : <link rel="stylesheet" href="/css/materialize.css">

The '/' has to be in front because if refrences to the public folder

YanniD avatar Dec 01 '17 09:12 YanniD

@YanniD or you could just use <link rel="stylesheet" href="{{url('/css/materialize.css')}}"> to make sure that the url is correct.

dheroefic avatar Dec 22 '17 02:12 dheroefic

@YanniD you also can use <link rel="stylesheet" href="{{ asset('css/materialize.css') }}"> https://stackoverflow.com/questions/39217975/in-laravel-5-whats-the-difference-between-url-and-asset

Stijn-van-Nieulande avatar Mar 08 '18 09:03 Stijn-van-Nieulande

Iam using this template in Laravel a added all css and js links but the charts not showing and some othes thing not going well. sorry about my english iam still learning

bug admin

Diucla avatar Jun 20 '18 13:06 Diucla