I installed https://github.com/farbelous/bootstrap-colorpicker plugin to my laravel 5.7 / Bootstrap v4.1. / Jquery 3 / Blade application and question is which is the correct way of attaching files I need to my page ? I need this plugin only on some pages, so in this page I did :
...
@endsection
@section('scripts')
...
<script src="?dt="></script>
<link href="../../node_modules/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css" rel="stylesheet">
<script src="../../node_modules/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js"></script>
...
<script>
@endsection
But this way does not work and seems invalid. Which way is valid ?
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire