From c3faec47b2fae15fa42a415c34d7ddca9406f6ab Mon Sep 17 00:00:00 2001 From: Keenan Payne Date: Mon, 25 May 2020 18:10:03 -0700 Subject: [PATCH 1/3] Revert "Remove notes for CDN because it has been deprecated" This reverts commit 5cc67b1dc7c8a1718aa0a02e5c7ed0f44ab05ec3. --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 62a9732..a6f0d7b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,29 @@ Concise CSS is written using a custom CSS preprocessor, built on top of Sass and ## Installation +There are 4 different options to install Concise CSS in your website, although the recommended way is to use NPM. + +### Using our CDN + +If you just want to try Concise CSS or of you do not have plans to customize the styles, you can use our CDN, this is the easier way to get started with the framework—and if you like it—is recommended to switch to NPM so that you can customize the styles. + + +```HTML + + + + + +``` + +That is for the latest version, if you want to use a specific one you can do something like the following: + +```HTML + + + + + ``` ### Install with NPM From 1d92adbff3b470f57b57df25dd44fd8c8424fa15 Mon Sep 17 00:00:00 2001 From: Keenan Payne Date: Mon, 25 May 2020 18:11:26 -0700 Subject: [PATCH 2/3] Make CDN link protocol-agnostic --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a6f0d7b..51a148e 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,20 @@ If you just want to try Concise CSS or of you do not have plans to customize the ```HTML - + - + ``` That is for the latest version, if you want to use a specific one you can do something like the following: ```HTML - + - + ``` ### Install with NPM From 0a493d0156ab292a5bdd6425ddb8ecdaa62d4213 Mon Sep 17 00:00:00 2001 From: Keenan Payne Date: Wed, 17 Jun 2020 20:58:41 -0600 Subject: [PATCH 3/3] Add notes about semantic versions of Concise with CDN --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51a148e..bf05bb3 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,10 @@ If you just want to try Concise CSS or of you do not have plans to customize the ``` -That is for the latest version, if you want to use a specific one you can do something like the following: +#### Semantic versioning with CDN +All major and minor versions of Concise exist in its own folder on the CDN. You can use specific versions of Concise with the CDN by prefixing the CSS file with the version number in the URL. + +For example, you can use the latest version as such: ```HTML @@ -37,6 +40,8 @@ That is for the latest version, if you want to use a specific one you can do som ``` +**Note:** All patch versions of Concise get published automatically to the non-prefixed URL. Patch versions are not organized into a folder. + ### Install with NPM Execute the following command to install Concise CSS from NPM. If you are new to NPM, you can check their [documentation](https://docs.npmjs.com/).