Skip to content

Commit 76b8197

Browse files
committed
docs: update element references from pf-* to pf-v5-*
Update all docs site references to use the new pf-v5-* element names, including HTML tags, CSS selectors, import paths, and code examples. Blog posts and changelogs left unchanged as historical records. PF4 core CSS tokens (--pf-c-content/title/text) left unchanged as they reference the PF CSS framework, not pf-elements components. Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5ecaa9a commit 76b8197

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

docs/get-started.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,11 @@ title: Get started
4747
In this example, we load the [card](/components/card/) modules using an importmap from JSPM.
4848

4949
```html
50-
<script type="importmap">
51-
{
52-
"imports": {
53-
"@patternfly/elements/": "https://ga.jspm.io/npm:@patternfly/elements/"
54-
}
55-
}
56-
</script>
50+
{% generateImportMap %}
5751
<script type="module">
5852
import "@patternfly/elements/pf-v5-card/pf-v5-card.js";
5953
</script>
54+
{% endgenerateImportMap %}
6055
```
6156

6257
To learn more about how to create importmaps, read our [creating an import map](/docs/develop/import-maps/) section, and go into more detail at [developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap) or the [import map specification](https://html.spec.whatwg.org/multipage/webappapis.html#import-maps).

0 commit comments

Comments
 (0)