Skip to content

accaplan/ashercaplan.com

Repository files navigation

sane-eleventy Prerequisite Prerequisite

Repo template for Sanity + Eleventy projects at Self Aware

📖 About

✨ Install

# Ensure correct Node and NPM versions are installed using NVM
nvm install

# Install Yarn
npm i -g yarn

# Install project dependencies using yarn
yarn

👩🏻‍💻 Usage

To set up with Sanity, you will need to set your Sanity projectId and dataset in two places:

  1. studio/sanity.json
  2. web/src/util/client.js

Development

# Start Netlify dev server
yarn dev

# Start Sanity dev server
yarn start:studio

Production

# Build front-end for production
yarn build

Deployment

# Deploy front-end using Netlify CLI
yarn add netlify-cli -g
netlify init
netlify deploy

# Deploy Sanity Studio
yarn deploy:studio

🖼️ Showcase

The following sites are powered by sane-eleventy:

💡 Inspiration

Thanks to sane-shopify for the name inspiration 🙂

🧾 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published