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

docs: add layout to match custom header example - #4593

Merged
pi0 merged 1 commit into
mainfrom
docs/custom-layout
Apr 25, 2022
Merged

docs: add layout to match custom header example#4593
pi0 merged 1 commit into
mainfrom
docs/custom-layout

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

resolvesnuxt/nuxt#13829

❓ 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

Adds the other half of the example.

📝 Checklist

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

@danielroedanielroe added the documentation Improvements or additions to documentation label Apr 25, 2022
@danielroe
danielroe requested review from clemcode and pi0April 25, 2022 13:01
@danielroedanielroe self-assigned this Apr 25, 2022
@netlify

netlifyBot commented Apr 25, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit8eb2197
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62669b9da51fc400089ad92b
😎 Deploy Previewhttps://deploy-preview-4593--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 8fae863 into mainApr 25, 2022
@pi0
pi0 deleted the docs/custom-layout branch April 25, 2022 16:54
@tobiasdiez

Copy link
Copy Markdown
Contributor

Thanks for the clarification. So one has to use the NuxtLayout component in order to define the templates for named slots, or is there a more elegant solution?

@danielroe

Copy link
Copy Markdown
MemberAuthor

Yes, that's required at the moment. There was talk of <template layout="custom"> but that's not technically valid SFC syntax and would require updating in tooling as well as a Nuxt compile transform.

@tobiasdiez

Copy link
Copy Markdown
Contributor

Okay, make sense. Thanks!

@pi0pi0 mentioned this pull request May 2, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xdocumentationImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Layouts with named scopes not documented

3 participants

@danielroe@tobiasdiez@pi0