0👍
Considering general file structure 'public>js>app.js'
, app.js
which include all compiled js, the vue dependencies and attach vue instance to to
the body of the page, your blade, eg index.blade.php
you might have something like ::
<script type="text/javascript" src="js/app.js"></script>
In your blade template, change it into something like this, considering same file structure:
<script type="text/javascript" src="{{url('js')}}/app.js"></script>
- [Vuejs]-Vue.js dialog/modal closes on parent component
- [Vuejs]-Removing access_token in cookie before sending axios request
Source:stackexchange.com