Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

docs(api): add useNuxtApp composable#6786

Merged
pi0 merged 26 commits intonuxt:mainfrom
Krutie:docs/api-composable-use-nuxt-app
Aug 22, 2022
Merged

docs(api): add useNuxtApp composable#6786
pi0 merged 26 commits intonuxt:mainfrom
Krutie:docs/api-composable-use-nuxt-app

Conversation

@Krutie
Copy link
Copy Markdown
Contributor

@Krutie Krutie commented Aug 19, 2022

🔗 Linked issue nuxt/nuxt#13653

❓ 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

Added API documentation for useNuxtApp composable

📝 Checklist

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 19, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 059abaa
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63039ee3fb3412000891324b
😎 Deploy Preview https://deploy-preview-6786--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
Comment thread docs/content/3.api/1.composables/use-nuxt-app.md Outdated
pi0 and others added 22 commits August 22, 2022 12:46
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
it is not used and modification should be build time
- try to use external docs as possible to avoid duplicate and outdated docs
- avoid mentioning internals which can potentially be changed
@pi0 pi0 changed the title docs(api): add useNuxtApp composable docs docs(api): add useNuxtApp composable Aug 22, 2022
Copy link
Copy Markdown
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit dc6b6ce into nuxt:main Aug 22, 2022
`hook` function is useful for adding custom logic by hooking into the rendering lifecycle at a specific point. `hook` function is mostly used when creating Nuxt plugins.

`ssrContext` is generated during server-side rendering and it is only available on the server side. Nuxt exposes the following properties through `ssrContext`:
See [Runtime Hooks](/api/advanced/hooks#app-hooks-runtime) for avialble runtime hooks called by Nuxt.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pi0 little typo: avialble

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the notice. (please check your discord when could. I've sent a message)

@pi0 pi0 mentioned this pull request Aug 26, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants