简体   繁体   English

Vue路由器未加载组件

[英]Vue-Router not loading component

I am developing a website using Vue and Vue-Router in local. 我正在本地使用Vue和Vue-Router开发一个网站。 Then I commit changes with git to the production server and the site files get updated. 然后,我使用git将更改提交到生产服务器,然后更新站点文件。

I was making a payment status page and it's working perfectly in local, so i uploaded the changed to the production server but for some reason the component isn't being loaded on the production server. 我正在制作一个付款状态页面,并且该页面在本地运行良好,因此我将更改上传到了生产服务器上,但是由于某种原因该组件未在生产服务器上加载。 I am getting no errors.. The rest of the routes I made (were always and are still) working fine, but the new routes I made/make dont in production (again, working perfectly locally) 我没有任何错误。.我进行的其余路线(一直且仍在)仍然工作正常,但我进行/制作的新路线未在生产中使用(再次在本地完美运行)

Does anyone have any debugging suggestions to try and figure out whats happening? 有没有人有任何调试建议来尝试找出正在发生的事情?

我解决了这个问题,这与缓存有关

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM