javascript - Laravel and Vue.js cannot see the css and js files -


i have project written in laravel + vue.js. (it not project, have improve it. can not show code because have nda ask. api in laravel + front in laravel + vue. committed project, updated 2 .env's , installed using: composer update npm install php artisan serve

but there problem because on page (127.0.0.1:8000) see blank page. here's console: enter image description here

when doing 127.0.0.1:8000/js/app.js see: enter image description here

that doesn't works when have 777 chmod's on project.

and command npm install every time says "114 installed 10 updated". why notice not updating 0?

can u me? can try?

  1. i thinks happening because link public/js/ not right. try this.

    src="{{ asset('js/app.js') }}"

hope helps.

i happy see web.php file also. thnx


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -