I want to compile only selected file based on usertype. I've different vue instance file in resource/js and I want to mix only one of them.Currently I'm doing this
@if(Auth::user())
<script defer src="">
@else
<script defer src="">
@endif
But it takes path from public folder,instead of resources. How do I achieve it? Can I mix resources/js/app.js file from blade?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire