From f5e573647d795591e17f54f5b74d67cc96b60aec Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 15 Jul 2020 16:58:16 -0400 Subject: [PATCH] Remove custom elements bundle --- docs/getting-started/installation.md | 42 +++++----------------------- stencil.config.ts | 3 -- 2 files changed, 7 insertions(+), 38 deletions(-) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 8189ffd1..3c3c39e8 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -1,39 +1,23 @@ # Installation -There are two ways to install Shoelace. Most users will prefer the simplicity of the lazy loader, but there are advanced options as well. +You can use Shoelace via CDN or by installing it locally. -## Lazy Loader (Recommended) +## CDN Installation (Recommended) -The easiest way to install Shoelace is with the lazy loader via CDN. A lightweight loader will be added to your page that registers components asynchronously as you use them. It's like magic. ✨ +The easiest way to install Shoelace is with the CDN. A lightweight loader will be added to your page that registers components asynchronously as you use them. It's like magic. ✨ -To install the lazy loader, add the following tags to your page. +Just add the following tags to your page. ```html ``` -Now you can [start using components!](/getting-started/usage.md) - -## Custom Elements Bundle - -Another way to consume the library is with the custom elements bundle. Compared to lazy loading, the initial load time will be slower, but all components will be available up front. This will prevent occasional display lags that can occur when using the lazy loader. - -To install the custom elements bundle, add the following tags to your page. - -```html - - -``` - -Now you can [start using components!](/getting-started/usage.md) +Now you can [start using Shoelace components!](/getting-started/usage.md) ## Local Installation -If you don't want to use the CDN, you can install Shoelace locally using the following command. +If you don't want to use the CDN, you can install Shoelace locally with the following command. ```sh npm install @shoelace-style/shoelace @@ -43,21 +27,9 @@ It's up to you to make the source files available to your app. One way to do thi Once you've done that, add the following tags to your page. Make sure to update `href` and `src` so they point to the route you created. -### Lazy Loader - ```html ``` -### Custom Elements Bundle - -```html - - -``` - -Now you can [start using components!](/getting-started/usage.md) +Now you can [start using Shoelace components!](/getting-started/usage.md) diff --git a/stencil.config.ts b/stencil.config.ts index 60671073..49359a8f 100644 --- a/stencil.config.ts +++ b/stencil.config.ts @@ -18,9 +18,6 @@ export const config: Config = { type: 'dist', esmLoaderPath: '../loader' }, - { - type: 'dist-custom-elements-bundle' - }, { type: 'docs-custom', generator: (docs: any) => {