Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brob/sanity-template-template
https://github.com/brob/sanity-template-template
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/brob/sanity-template-template
- Owner: brob
- License: mit
- Created: 2020-10-19T20:38:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T11:57:31.000Z (about 1 year ago)
- Last Synced: 2024-11-07T00:29:12.101Z (about 2 months ago)
- Language: JavaScript
- Size: 584 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Readme describing the full template
This README should talk about what this Starter does. It will be pulled into the page at [sanity.io/create](https://sanity.io/create), but also should mention how to contribute to the Starter, as well as use it.
## Building your first template?
We have a [guide for building a Starter](https://www.sanity.io/docs/creating-a-1-click-sanity-starter-project) and [documentation](https://www.sanity.io/docs/starter-templates).
* `/assets/` is where your preview images will go
* `/data/` is where a Sanity dataset export will go if you want to give default data
* `/template/` is where your site and studio will goTo work locally:
```bash
# Install the CLI
npm install -g sanity-template# From project root, run this command to set a watcher to rebuild files to a build directory with proper template values
sanity-template watch --template-values=template-values-development.json
```You'll want to run the site and the Studio from within the build directories.