Skip to content

Commit 94fc64c

Browse files
.
1 parent cb82c4f commit 94fc64c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/content/docs/0.0/getting-started/javascript.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A better alternative for those using this type of frameworks is to use a framewo
3535

3636
{{< callout warning >}}
3737
**To set up a functional OUDS Web demo based on the Bootstrap templates**, follow these steps to replace all `bootstrap` references:
38-
* Change `bootstrap` to `ouds-web` in `scss/style.scss` and within `import` statements in `index.html`.
38+
* Change `bootstrap` to `ouds-web` in `scss/style.scss`.
3939
* Replace `bootstrap` with `@ouds/web` in `package.json`, and within `import` statements in `index.html` for the CDN URL.
4040
* Update JavaScript objects from `bootstrap` to `oudsWeb`.
4141
{{< /callout >}}
@@ -86,12 +86,12 @@ To fix this, you can use an `importmap` to resolve the arbitrary module names to
8686
{
8787
"imports": {
8888
"@popperjs/core": "{{< param "cdn.popper_esm" >}}",
89-
"ouds-web": "https://cdn.jsdelivr.net/npm/@ouds/web@{{< param "current_version" >}}/dist/js/ouds-web.esm.min.js"
89+
"@ouds/web": "https://cdn.jsdelivr.net/npm/@ouds/web@{{< param "current_version" >}}/dist/js/ouds-web.esm.min.js"
9090
}
9191
}
9292
</script>
9393
<script type="module">
94-
import * as oudsWeb from 'ouds-web'
94+
import * as oudsWeb from '@ouds/web'
9595
9696
new oudsWeb.Popover(document.getElementById('popoverButton'))
9797
</script>

0 commit comments

Comments
 (0)