Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Vue components inside the markdown #35

Open
peoray opened this issue Oct 8, 2024 · 1 comment
Open

How to use Vue components inside the markdown #35

peoray opened this issue Oct 8, 2024 · 1 comment
Labels
✨ feature New feature or request
Milestone

Comments

@peoray
Copy link

peoray commented Oct 8, 2024

Using this awesome template, I'm building a port of Magic UI in Vue. I want to be able to preview the Vue code inside of the markdown files.

An example can be found here, basically where we have preview and code. I checked the source code and saw they use a ComponentPreview component.

Is this possible in this template?

@ZTL-UwU ZTL-UwU added the ✨ feature New feature or request label Oct 8, 2024
@ZTL-UwU
Copy link
Owner

ZTL-UwU commented Oct 9, 2024

Yes, this feature is planed. I'll implement it once I figure out a good DX.

Also, checkout Inspira UI (if you haven't) which is also a Magic UI / Aceternity UI port to vue, and it uses shadcn-docs-nuxt as well.

@ZTL-UwU ZTL-UwU added this to the v1 milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants