AdminBSBMaterialDesign
AdminBSBMaterialDesign copied to clipboard
How to integrate this to laravel?
I love this template. How do I integrate this to Laravel?
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 or you could just use <link rel="stylesheet" href="{{url('/css/materialize.css')}}">
to make sure that the url is correct.
@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
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