The Wayback Machine - https://web.archive.org/web/20200913143738/https://github.com/sanity-io/example-sanity-revealjs
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.