Fix hash link for "cherry picking" (#1207)

This commit is contained in:
Doug Stevenson
2025-07-21 14:14:49 -04:00
committed by GitHub
parent 9b8433c996
commit c1478e5865

View File

@@ -115,7 +115,7 @@ Once they've been imported, you can use them in your HTML normally. Component im
Some components rely on assets (icons, images, etc.) and Web Awesome needs to know where they're located. For convenience, Web Awesome will try to auto-detect the correct location based on the script you've loaded it from. This assumes assets are colocated with `webawesome.loader.js` and will "just work" for most users.
==If you're using the CDN, you can skip this section.== However, if you're [cherry picking](#cherry-picking) or bundling Web Awesome, you'll need to set the base path. You can do this one of two ways.
==If you're using the CDN, you can skip this section.== However, if you're [cherry picking](#cherry-picking-from-cdn) or bundling Web Awesome, you'll need to set the base path. You can do this one of two ways.
```html
<!-- Option 1: the data-webawesome attribute -->
@@ -157,4 +157,4 @@ The `/dist-cdn` files are bundled differently than the `/dist` files. The `/dist
TLDR:
- `@awesome.me/webawesome/dist-cdn` is for CDNs or people not using a bundler.
- `@awesome.me/webawesome/dist` is for bundlers or importmaps.
- `@awesome.me/webawesome/dist` is for bundlers or importmaps.