I'm using bower to install some dependencies. The only issue I have is trying to load them globally throughout my views.
I'm trying to do this:
<script src="{{ URL::asset('bower_components/sweetalert/dist/sweetalert-dev.js') }}"></script>
<link rel="stylesheet" href="{{ URL::asset('node_modules/sweetalert/dist/weetalert.css') }}">
Which results in:
<script src="http://ift.tt/1OJdN7T"></script>
<link rel="stylesheet" href="http://ift.tt/1jIkZFm">
Which is obviously wrong because it's outside the app directory. How can I reference the libraries properly?
Thank you, Andy
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire