Trying to intagrate popular admin dashaboard (Adminlte) into my latest laravel
Steps i followed
1.Downloaded admin-lte via npm install --save admin-lte.
2.In my app.js
file included the following line require('admin-lte')
.
3.Finally i build the project with npm run build
In my home.blade,php
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="">
<title></title>
<!-- Styles -->
<link href="" rel="stylesheet">
</head>
<body class="skin-blue">
<!--dmi lte pages -->
<!--Jascript all files --->
<script src=""></script>
</body>
</html>
The problem is styles are not loading...
Since we using laravel mix (Its like gulp build) i think there is no need to include the css and js seprately.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire