Gatsby Hello Starter
Note: This starter uses the Gatsby v2.
- css-in-js with Emotion: website - plugin doc
- TypeScript: plugin doc
- Storybook : website
- React-Helmet: plugin doc
- Sharp image processing library: plugin doc
- Sitemap: plugin doc
- Robots.txt : plugin doc
- Plop files generator : website
Node version manager
Install NVM to manage its version of Node:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
In the project, install and use the current version of Node:
# Installs the node version specified in the .nvmrc nvm install # Switches to the node version specified in the .nvmrc nvm use
(Optional but highly recommended) Install AVN to avoid having to run nvm use every time you open the project.
curl -fsSL https://raw.githubusercontent.com/tophat/yvm/master/scripts/install.sh | bash
Navigate into your new site’s directory and start it up.
Your site is now running at
_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._
Create new file
Format files with Prettier