Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以支持本地直接打开么? #179

Closed
fangsj opened this issue Jun 1, 2017 · 4 comments
Closed

可以支持本地直接打开么? #179

fangsj opened this issue Jun 1, 2017 · 4 comments

Comments

@fangsj
Copy link

fangsj commented Jun 1, 2017

我尝试了一下本地直接打开会报跨域问题!如果再网络情况不好的情况下,我想直接把这个文档copy给前端开发使用阅读
image

@fangsj
Copy link
Author

fangsj commented Jun 1, 2017

我刚刚看到一个博客,说要支持编译静态文件,说的就是这个吧!支持你

@QingWei-Li
Copy link
Member

Hi

这个报错是 Chrome 的安全策略决定的,我用 Safari 打开本地文件一切正常。推荐做法还是安装一个能启动静态文件服务器的工具,比如 serve

静态编译文件在这个 Issue 里有讨论 #136 我个人不喜欢静态编译,你可是使用 gitbook 等同类产品,或者你愿意的话可以来尝试实现下静态编译的功能 <3

@fangsj
Copy link
Author

fangsj commented Jun 1, 2017

谢谢!个人觉得docsify 有些优点比gitbook更好,所以我更倾向于使用docsify。不过我也看了有许多人想使用静态编译的功能😆。回头研究一下,看看实现下。

@ideacco
Copy link

ideacco commented Dec 19, 2018

希望能增加静态编译的功能,这样就可以直接发文件包给别人了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants