Render Portable Text with Astro.
$ npm install astro-portabletext
# $ pnpm add astro-portabletext
# $ yarn add astro-portabletext
How to
and examples
can be found here.
Refer to Sanity docs page.
You will need both related NPM packages.
Astro | Portable Text |
---|---|
@astrojs/react | @portabletext/react |
@astrojs/svelte | @portabletext/svelte |
@astrojs/vue | @portabletext/vue |
ISC