Skip to content
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

docs(routing): update add $fetch usage note #1070

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Conversation

Draichi
Copy link
Contributor

@Draichi Draichi commented Mar 21, 2023

After some confusion trying to identify which command to use to fetch an API using only Nitro, I was not sure if the same command on Nuxt would work here.

To avoid this confusion and to make it clear to anybody that $fetch is the command to use I believe this should be in the documentation

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

After some confusion trying to identify which command to use to fetch an API using only Nitro, I was not sure if the same command on Nuxt would work here.

To avoid this confusion and to make it clear to anybody that `$fetch` is the command to use I believe this should be in the documentation
@nuxt-studio
Copy link
Contributor

nuxt-studio bot commented Mar 21, 2023

Live Preview ready!

Name Edit Preview Latest Commit
nitro Edit on Studio ↗︎ View Live Preview 1eb50d2

@pi0 pi0 changed the title docs: update 3.routing.md docs(routing): update add $fetch usage note Mar 22, 2023
@pi0 pi0 merged commit a022135 into nitrojs:main Mar 22, 2023
@pi0
Copy link
Member

pi0 commented Mar 22, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants