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

docs(api): add defineNuxtComponent utils#7618

Merged
pi0 merged 9 commits intonuxt:mainfrom
Krutie:docs/api-utils-define-nuxt-component
Sep 20, 2022
Merged

docs(api): add defineNuxtComponent utils#7618
pi0 merged 9 commits intonuxt:mainfrom
Krutie:docs/api-utils-define-nuxt-component

Conversation

@Krutie
Copy link
Copy Markdown
Contributor

@Krutie Krutie commented Sep 17, 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 defineNuxtComponent utils

📝 Checklist

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 17, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 586bbe3
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63298032ddcd490008434cfb
😎 Deploy Preview https://deploy-preview-7618--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/3.utils/define-nuxt-component.md Outdated
Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
Krutie and others added 2 commits September 17, 2022 19:14
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Daniel Roe <daniel@roe.dev>
@danielroe danielroe added the documentation Improvements or additions to documentation label Sep 17, 2022
@darthf1
Copy link
Copy Markdown

darthf1 commented Sep 17, 2022

Is it possible to keep one import statement for users who want to explicitly add the import?

Example for other import:
bea83e9

@pi0
Copy link
Copy Markdown
Member

pi0 commented Sep 20, 2022

@darthf1 Sure. You can always explicitly import from #imports instead of using auto imports.

@pi0
Copy link
Copy Markdown
Member

pi0 commented Sep 20, 2022

@danielroe would you mind to do a quick review?

Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
Comment thread docs/content/3.api/3.utils/define-nuxt-component.md Outdated
@pi0 pi0 merged commit f82a4b6 into nuxt:main Sep 20, 2022
@pi0
Copy link
Copy Markdown
Member

pi0 commented Sep 20, 2022

Thanks @Krutie as always you rock!

@pi0 pi0 mentioned this pull request Sep 20, 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

3.x documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants