[✨] API similar to Astro's Content Collections API #152
rshackleton
started this conversation in
Proposals For Qwik
Replies: 3 comments
-
|
I've started creating a package for this here: https://github.com/rshackleton/rshackleton-qwik/tree/main/packages/vite-mdx-collections It doesn't include any type generation or validation currently, but it does read and expose the data for use. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
any updates on that issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
When working with MDX files it is non-trivial to create dynamic list pages or sitemaps using that data.
Describe the solution you'd like
An ideal solution would be an equivalent API to Astro's own Content Collections API.
Describe alternatives you've considered
I have not yet looked into this but I will be aiming to create a custom vite plugin to read MDX files at compile time and expose the slugs and frontmatter via a virtual module.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions