ChartsCSS / charts.css

Open source CSS framework for data visualization.
https://ChartsCSS.org
MIT License
6.21k stars 175 forks source link

docs: specify version in CDN URLs #118

Open hyunbinseo opened 8 months ago

hyunbinseo commented 8 months ago

Both CDN supports semver in the URL.

Specifying v1 is advised to avoid unexpected breaking changes.


use a version range instead of a specific version

https://cdn.jsdelivr.net/npm/jquery@3.6/dist/jquery.min.js
https://cdn.jsdelivr.net/npm/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/npm/jquery/dist/jquery.min.js

You may also use a semver range or a tag instead of a fixed version number, or omit the version/tag entirely to use the latest tag.

https://unpkg.com/react@^16/umd/react.production.min.js