Comments (7)
@kristopolous According to jsDelivr:
// load any GitHub release
https://cdn.jsdelivr.net/gh/user/repo@version/file
// load jQuery v3.2.1
https://cdn.jsdelivr.net/gh/jquery/[email protected]/dist/jquery.min.js
// use a version range instead of a specific version
https://cdn.jsdelivr.net/gh/jquery/[email protected]/dist/jquery.min.js
https://cdn.jsdelivr.net/gh/jquery/jquery@3/dist/jquery.min.js
// omit the version completely to get the latest one
// you should NOT use this in production
https://cdn.jsdelivr.net/gh/jquery/jquery/dist/jquery.min.js
// add ".min" to any JS/CSS file to get a minified version
// if one doesn't exist, we'll generate it for you
https://cdn.jsdelivr.net/gh/jquery/[email protected]/src/core.min.js
// add / at the end to get a directory listing
https://cdn.jsdelivr.net/gh/jquery/jquery/
So you could do:
https://cdn.jsdelivr.net/gh/kristopolous/BOOTSTRA.386@bs3-pre2/v3.3.2/dist/css/bootstrap.css
There's also RawGit.
So
https://raw.githubusercontent.com/kristopolous/BOOTSTRA.386/master/v3.3.2/dist/css/bootstrap.css
Turns into:
https://cdn.rawgit.com/kristopolous/BOOTSTRA.386/master/v3.3.2/dist/css/bootstrap.css
from bootstra.386.
I highly agree.
from bootstra.386.
Alright sure ... I might as well do this. How does one get their stuff on this? I don't see a signup or upload
from bootstra.386.
Hi everyone! I am a member from cdnjs π
There is a corresponding library request opened by @NurdTurd cdnjs/cdnjs#11775 (Thanks for request! π )
I am afraid that cdnjs will need maintainers/authors to release versions with distribution on git repo, npm or other similar public platform. It currently seems like that only zip files with distribution. In this case, I won't be able to add the lib because it doesn't meet library requirement.
For more details, you can refer
https://github.com/cdnjs/cdnjs/blob/master/CONTRIBUTING.md#a-issue
cdnjs/cdnjs#11970 (comment)
https://github.com/cdnjs/cdnjs/blob/master/documents/autoupdate.md
from bootstra.386.
from bootstra.386.
Sorry for late reply here. π
@kristopolous Sure I can give an example π
This issue yusugomori/csssans#7 asked the author if he can add a tag for versions to let cdnjs be able to fetch the files cdnjs needs automatically (in this case, they are css/js files under src
of the project) via a mechanism called "auto-update".
cdnjs hopes to fetch files by setting "auto-update" config. The config needs a project to have a fixed folder for distributions but distinguished by git tags. In your current file structure, distributions are under folders named after versions, which can't be fixed one. If you can use a fixed folder to put files, and add tags for them, it can help us a lot on adding your lib.
from bootstra.386.
Anything we can do to move this forward?
from bootstra.386.
Related Issues (20)
- [NOT A ISSUE] Question about CSS HOT 1
- [Suggestion] Add a shadow class on v4 HOT 2
- When is the new release on bootstrap 5? HOT 9
- Stylesheet is not set for the example page HOT 2
- image -> ansi
- I made a bootstrap v4 theme of this. HOT 2
- bs4: alignment engine HOT 3
- built-in figlet system HOT 6
- a decent ansi-to-html converter
- Drawing in the bootstrap 4 version? HOT 8
- Problems with modals HOT 4
- BS4 remaining HOT 11
- Change input caret to a block? HOT 8
- Multiple components aren't working. HOT 4
- .modal-dialog-centered isn't working HOT 9
- Menu doesn't colapse into a hamburger on mobile HOT 11
- How can I use this with Jekyll? HOT 3
- Broken example image in the wiki HOT 1
- Text - Weird check boxes? HOT 2
- Underwhelming tables HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstra.386.