Skip to content

chore(docs): fix incorrect links #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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