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

docs: use LinkExample as block component #8459

Merged
merged 1 commit into from Oct 25, 2022
Merged

docs: use LinkExample as block component #8459

merged 1 commit into from Oct 25, 2022

Conversation

farnabaz
Copy link
Member

πŸ”— Linked issue

resolves nuxt/content#1635

❓ 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

LinkExample is a block component since it renders block tags like div. We can't use it as an inline component.
Using a block component as inline results hydration issue

πŸ“ Checklist

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

@codesandbox
Copy link

codesandbox bot commented Oct 25, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Oct 25, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 31acd53
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6357ac6044065700081d2028
😎 Deploy Preview https://deploy-preview-8459--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.

@pi0 pi0 merged commit 12c8949 into main Oct 25, 2022
@pi0 pi0 deleted the docs/hydration-issue branch October 25, 2022 09:33
@pi0 pi0 mentioned this pull request Nov 3, 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.

Nuxt Content Alert, Code, Code Syntax Highlighting not working in Nuxt documentation
3 participants