mdx-deck is a mdx based presentation deck. Sanity is a real-time hosted backend for structured content. This is an example of how to create and store your presentations in the Sanity Studio and export them as mdx-decks.
- Copy and put these files in your schema-folder and import them to schema.js
You can remix this online Glitch app and do the following:
- Add your
project id
,dataset name
, anddeck document id
to sanityConfig.json - Run
sanity cors add https://<your-glitch-app-name>.glitch.com
in your command line interface, or in your project settings on manage.sanity.io - Wait for the build to finish and open https://.glitch.com