Github Pages 404 on node_modules folder

后端 未结 1 397
轮回少年
轮回少年 2021-02-05 14:28

I am trying to render my GitHub repo on the Publisher-Subscriber module with JavaScript using GitHub pages. The gh-pages branch looks fine. However, the mustache co

相关标签:
1条回答
  • 2021-02-05 15:20

    Github pages uses a version of Jekyll that ignores node_modules folder by default.

    According to this blog article. You can do the following:

    Create an empty .nojekyll text file in the root of the gh-pages branch.

    You can also refer to this announcement by github which talks about the update that is responsible for this behavior.

    0 讨论(0)
提交回复
热议问题