I am new to VueJS. I am following one of the YouTube tutorial Let's Build a Multi-Purpose Laravel + Vue Application by Code Inspire
This is his github package. https://github.com/Hujjat/laravStart
我注意到了.当我注销并再次登录时,它将重定向到.js文件.
就我而言:-
我克隆了他的项目.我try 了判断,我登录,注销,再登录.它将重定向到 http://laravstart.test/js/laravel-vue-pagination.common.js.map个
It will show 404 error. I have every time remove the /js/xxxx.js.map then only back to normal.
我的两个项目,当我运行判断时.我注意到有Chrome警告.
DevTools failed to parse SourceMap: http://laravstart.test/js/laravel-vue-pagination.common.js.map
DevTools failed to parse SourceMap: http://laravel-vuejs.test/js/laravel-js/popper.js.map
IMPORTANT NOTE It only happen when I open the chrome inspect windows. If I close it, it will back to normal means won't redirect to JS file.
屏幕记录:https://imgur.com/gZzcX5L
I tested with Chrome and Firefox with inspect both having the same problem.
但在Chrome中,如果我关闭源 map 的设置,它就不会有这个问题.
有人知道怎么修吗?编译源 map 问题?js.映射文件不存在.