Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

sanity-io/example-sanity-revealjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sanity backed Reveal.js frontend

This is a vanilla JS example of a Sanity backed Reveal.js presentation frontend.

It updates live on new published changes, and with an added token with read permissions on every update.

It requires that you install the slide deck schema in your Sanity project with $ sanity install slide-deck

This project was made entirely on the amazing Codesandbox, go try it yourself.

Get started

  • Go into config.js and change the projectId, dataset, and slug to where your slide deck is.
  • Add the frontend’s URL to your Sanity’s project CORS settings either in the browser or by using the command $ sanity cors add <url> in the project folder.

About

Example frontend with Reveal.js for the slide deck schema

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published