OpenUI5: offline documentation in SDK not working?

筅森魡賤 提交于 2020-07-10 07:49:12

问题


When I download "Latest stable release: 1.28.16 (2015-08-18)" from here the documentation is not working. By clicking on \openui5-sdk-1.28.16\index.html the page opens up with empty content. With older versions I also had non working offline documentation, the navigation page was showing, but the "details pane" was empty.

Is it only with me (using windows 8.1 and chrome Version 44.0.2403.157 m) or is this something general?


回答1:


It is related to the browser security when index.html loads its resources (Same-Origin Policy)

So you have two options:

  • deploy the content on a (local) web server (as already pointed in the readme.txt) and open the index.html via http (for instance http://localhost:/openui5-sdk-1.28.16/index.html>)
  • run your browser with disabled web security and directly open the index.html


来源:https://stackoverflow.com/questions/32297984/openui5-offline-documentation-in-sdk-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!