lundi 29 janvier 2018

adding js and css files to the page Laravel

How do I add the js file to my page?

I have the following structure:

public
 - css
 - js
 - vendor
   - bootstrap
   - jquery

I want to use the jquery and bootstrap that are in my vendor folder.

I'm trying the following way.

<script type="text/javascript" src="  "> </script>
<script type="text/javascript" src="  " > </script>

but does not work, error appears

syntax error, unexpected 'vendor' (T_STRING)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire