Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/molebox/hungry-bear-gatsby-default
A Gatbsy starter project setup with sanity.io, TypeScript and SCSS.
https://github.com/molebox/hungry-bear-gatsby-default
Last synced: 9 days ago
JSON representation
A Gatbsy starter project setup with sanity.io, TypeScript and SCSS.
- Host: GitHub
- URL: https://github.com/molebox/hungry-bear-gatsby-default
- Owner: molebox
- License: mit
- Created: 2019-03-02T19:42:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T17:12:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T22:43:10.044Z (23 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hungry Bear Studio
Default TypeScript SCSS starter project with sanity.io supportBased on the standard Gatsby starter with sanity.io support, this kit adds TypeScript and SCSS support with custom tslint rules.
## Quick start
1. **Create a Gatsby site.**
Use the Gatsby CLI to create a new site, specifying the hungry-bear-default.
```sh
# create a new Gatsby site using the hungry-bear-default
npx gatsby new my-wicked-new-app https://github.com/molebox/hungry-bear-gatsby-default.git
```1. **Start developing.**
Add your Sanity projectId and dataset reference in gatsby-config.js
```sh
options: {
projectId: 'your-project-id-here',
dataset: 'your-dataset-here'
}
```Navigate into your new site’s directory and start it up.
```sh
cd my-wicked-new-app/
gatsby develop
```1. **Start Coding!!**
Your site is now running at `http://localhost:8000`!
_Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._
Open the `hungry-bear-default` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time!