如何上传到cdnjs?我对 git 一无所知,也没有任何经验。
我有一个文件要上传到 cdnjs。我必须下载一些东西吗? 有人可以指导我完成我必须做的事情吗?
最佳答案
您不能只将单个文件“上传”到 cdnjs。
阅读CDNJS contributing document ,特别是图书馆 even to be considered :
- [...] please make sure it's not a personal project, we have a basic requirement for the popularity, like 100 stars on GitHub or 500 downloads/month on npm registry.
- The new library must have at least one officially public accessable repository and open source license.
当您了解这些内容后,您可以 create a pull request将您的图书馆纳入 cdnjs's master GitHub repo .
关于javascript - 如何上传到cdnjs?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44981404/