Closed atinux closed 1 year ago
Happy to fix this today @bdrtsky ?
How do you have it? it's empty here https://github.com/nuxt-themes/typography/blob/main/components/CopyButton.vue
Why CopyButton even exist in this repo @Tahul
I think there is two issues here:
CopyButton.vue
, at least it seems like so in the screenshotProseCode
ain't done yet, and I think we should think of the best way to handle that specific componentWhat I would suggest is:
CopyButton
from nuxt.comI would suggest it is called ProseCodeCopyButton
now, as it might conflict with other components from the user project, CopyButton
seem a bit too generic as a name.
I like ProseCodeCopyButton
Happy to remove it from nuxt.com once we have it.
I believe a ProseCode that has a copy button is great UX by default :)
See on https://nuxt-com-git-feat-typography-nuxtlabs.vercel.app/docs/getting-started/configuration