概述
Without routing:
I have cloned and build (using webpack) the template Electrogram and reloading work well out of the box. The Electrogram app is bootstrapped starting an AppComponent. No routing in this app.
When I replace the app folder by the Quickstart app from Angular and bootstrap the app from the AppModule the apps runs well and reloading works fine. This app does not have routing.
With routing:
When I replace the app folder by the Tour of Heroes tutorial app from Angular and bootstrap starting the top AppModule the app runs well. But..., when the app gets reloaded, the window remains blank and the following error occurs: "Not allowed to load local resource: data:text/html,chromewebdata".
When I bootstrap the app starting an AppComponent reloading works fine. Unfortunately routing does not work when bootstrapping from Component.
最后
以上就是野性大米为你收集整理的data:text/html chromewebdata,Reload fails: Not allowed to load local resource: data:text/html,chrome...的全部内容,希望文章能够帮你解决data:text/html chromewebdata,Reload fails: Not allowed to load local resource: data:text/html,chrome...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复