Skip to content

Commit

Permalink
chore(docs): fix incorrect links (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 authored Aug 29, 2024
1 parent 7e5d700 commit 99626a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/docs/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ That's it! The Nuxt Scripts module should be downloaded and added to your Nuxt C
Need some inspiration to start using Nuxt Scripts? Try out the following:

1. 🎉 Make it rain emojis with the [Confetti Tutorial](/docs/getting-started/confetti-tutorial).
2. 📚 Learn about how the [Script Loading](/docs/guides/script-loading) works.
2. 📚 Learn about how the [Script Loading](/docs/guides/script-triggers) works.
3. 🔍 Explore the [Script Registry](/scripts) for popular pre-configured third-party scripts.
3. 🚀 Load other scripts with [useScript](/docs/api/use-script) or [Global Scripts](/docs/guides/global).
4. 🔨 Fine-tune your performance and privacy with [Bundling](/docs/guides/bundling) and [Consent Management](/docs/guides/consent).
4 changes: 2 additions & 2 deletions docs/content/docs/1.getting-started/3.confetti-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You'll learn about the following:
- What the `useScriptNpm` registry script is.
- How to load the `js-confetti` script using it.
- Adding types to loaded scripts.
- Using proxied functions to call the script.
- Using [proxied functions](/docs/guides/key-concepts#understanding-proxied-functions) to call the script.

## Background on useScriptNpm

Expand Down Expand Up @@ -104,7 +104,7 @@ Now that we have a way to resolve the third-party script API, we can start using
The `js-confetti` library requires us to instantiate a new instance of the `JSConfetti` class everytime it's used,
the most compatible way to handle this is to wait for the script to load explicitly.

However, we can also make use of [proxied functions](/docs/guides/script-loading#Understanding-proxied-functions) if we prefer an easier to use API. Note that this will break
However, we can also make use of [proxied functions](/docs/guides/key-concepts#understanding-proxied-functions) if we prefer an easier to use API. Note that this will break
when switching between pages as `new window.JSConfetti()` needs to be called between pages.

::code-group
Expand Down

0 comments on commit 99626a2

Please sign in to comment.