CSS,JS和图像不再出现 [英] CSS, JS and Image not coming

查看:109
本文介绍了CSS,JS和图像不再出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CSS,JS和图像不是在URL的第一次点击时出现的.但是,当我刷新页面时,一切正常.仅当我从本地计算机上访问URL时,这才令人感到惊奇.如果我直接输入服务器并点击URL,一切正常.请帮助我.

The CSS, JS and the Image is not coming at the first hit of the URL. But when I refresh the page, everything comes fine. This is hapening only when I hit the URL from my local machine. If I direcly enter the server and the hit the URL, everything comes fine. Please help me on this.

推荐答案

您需要在计算机上托管整个应用程序,然后才能在本地运行它.另外请注意,在查看页面之前,必须在IIS上注册适当的处理程序.
You need to host the entire application on your machine before you can run it locally. Also note that the appropriate handlers must be registered on IIS before you can view the page.


这篇关于CSS,JS和图像不再出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆