diff --git a/cspell.json b/cspell.json index f778ba50..d3c5cd40 100644 --- a/cspell.json +++ b/cspell.json @@ -39,6 +39,7 @@ "datetime", "describedby", "Docsify", + "dogfood", "dropdowns", "easings", "enterkeyhint", diff --git a/docs/assets/plugins/metadata/metadata.js b/docs/assets/plugins/metadata/metadata.js index 1008704e..30c192a2 100644 --- a/docs/assets/plugins/metadata/metadata.js +++ b/docs/assets/plugins/metadata/metadata.js @@ -436,6 +436,9 @@ result += ` ## Importing + If you're using the autoloader or the traditional loader, you can ignore this section. Otherwise, feel free to + use any of the following snippets to [cherry pick](getting-started/installation#cherry-picking) this component. + Script Import diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index 28965131..1d774f98 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -32,9 +32,10 @@ Designed in New Hampshire by [Cory LaViska](https://twitter.com/claviska). Add the following code to your page. + ```html - + ``` Now you have access to all of Shoelace's components! Try adding a button: @@ -43,7 +44,7 @@ Now you have access to all of Shoelace's components! Try adding a button: Click me ``` -?> This will load all of Shoelace's components, but you should probably only load the ones you're actually using. To learn how, or for other ways to install Shoelace, refer to the [installation instructions](getting-started/installation). +?> This will activate Shoelace's experimental autoloader, which registers components on the fly as you use them. To learn more about it, or for other ways to install Shoelace, refer to the [installation instructions](getting-started/installation). ## New to Web Components? diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index ef860120..181b9a5f 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -16,6 +16,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti - Fixed a regression in `` that caused `min` and `max` to stop working when `type="date"` [#1224](https://github.com/shoelace-style/shoelace/issues/1224) - Improved accessibility of `` [#1218](https://github.com/shoelace-style/shoelace/pull/1218) - Improved `` so it converts non-string values to strings for convenience [#1226](https://github.com/shoelace-style/shoelace/issues/1226) +- Updated the docs to dogfood the autoloader ## 2.2.0