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

feat: built-in client only component - #1853

Merged
pi0 merged 11 commits into
mainfrom
feat/client-only
Nov 15, 2021
Merged

feat: built-in client only component#1853
pi0 merged 11 commits into
mainfrom
feat/client-only

Conversation

@antfu

Copy link
Copy Markdown
Member

🔗 Linked issue

nuxt/nuxt#11884

❓ 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

Add built-in <ClientOnly/> component (taken from VitePress).

📝 Checklist

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

@netlify

netlifyBot commented Nov 11, 2021

Copy link
Copy Markdown

✔️ Deploy Preview for nuxt3-docs canceled.

🔨 Explore the source changes: 4a4e9aa

🔍 Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/6192487aa07dba000788ebaa

Comment threadpackages/nuxt3/src/core/templates.ts Outdated
Comment threadpackages/nuxt3/src/app/plugins/client-only.ts Outdated
@antfu

Copy link
Copy Markdown
MemberAuthor

I was thinking to add it to the docs, but I didn't find a way to place it. Do yo think we should create a new page like https://nuxtjs.org/docs/features/nuxt-components?

@pi0

pi0 commented Nov 11, 2021

Copy link
Copy Markdown
Member

? I was thinking to add it to the docs, but I didn't find a way to place it. Do yo think we should create a new page like https://nuxtjs.org/docs/features/nuxt-components?

A "Built-in components" page might be good idea (but we can also add it in a later PR)

@antfuantfu mentioned this pull request Nov 11, 2021
7 tasks
pi0
pi0 approved these changes Nov 15, 2021
@pi0
pi0 merged commit 8e12394 into mainNov 15, 2021
@pi0
pi0 deleted the feat/client-only branch November 15, 2021 11:57
Sign up for freeto 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.

3 participants

@antfu@pi0@danielroe