Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/travis-r6s/gridsome-starter-sanity-bulma
An opinionated starter for Gridsome, which includes a Sanity project, and uses Bulma CSS.
https://github.com/travis-r6s/gridsome-starter-sanity-bulma
Last synced: 16 days ago
JSON representation
An opinionated starter for Gridsome, which includes a Sanity project, and uses Bulma CSS.
- Host: GitHub
- URL: https://github.com/travis-r6s/gridsome-starter-sanity-bulma
- Owner: travis-r6s
- Created: 2021-02-11T15:57:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T20:51:17.000Z (almost 2 years ago)
- Last Synced: 2023-12-27T13:38:52.639Z (about 1 year ago)
- Language: SCSS
- Homepage:
- Size: 2.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gridsome + Sanity + Bulma 🚀
No more needs to be said.
### Start
Assuming you have the Santiy CLI (`@sanity/cli`) installed:
```sh
git clone [email protected]:thetre97/gridsome-starter-sanity-bulma.git project-name
# Gridsome setup
cd project-name
yarn
# Sanity setup
cd sanity
npm i
sanity init
npm run deploy
```You will need to redeploy the GraphQL schema everytime you update the Sanity schema. This can easily be done with `npm run deploy`.
Copy the `.env.example` over to `.env`, and fill out the variables - you can get them from your now-configured Sanity project (`sanity.json`).
Then you can run the project:
```sh
# Sanity
cd sanity
npm run develop
# Gridsome
yarn develop
```### Notes
This is an opinionated starter, which I use myself - so there may be a couple of oddities:
- I usually use Yarn, but it freaks out when installing Sanity (to do with Sanity using colons in path names, which doesn't agree with NTFS), so I use NPM to install teh studio dependencies.