项目作者: partha360

项目描述 :
GatsbyJS with Contentful CMS and styled with tailwindcss using Mobx store
高级语言: CSS
项目地址: git://github.com/partha360/gatsby-contentful-tailwindcss-mobx.git
创建时间: 2018-05-03T04:52:52Z
项目社区:https://github.com/partha360/gatsby-contentful-tailwindcss-mobx

开源协议:MIT License

下载


Gatsby-contentful-tailwindcss-mobx

Gatsby-contentful-tailwindcss-mobx starter.

This project is inspired by https://github.com/mccrodp/gatsby-starter-contentful-i18n

Tools Used

  • Gatsby v2 alpha 32
  • react-intl & gatsby-plugin-i18n for localisation
  • gatsby-source-contentful for contenful integration
  • react v16.3.2
  • tailwindcss for styling & postcss for building css
  • prettier for auto code formatting
  • Mobx for store & state management

Install

Make sure that you have yarn installed globally:

https://yarnpkg.com/lang/en/docs/install

Install Gatsby CLI globally using yarn:

  1. yarn global add gatsby-cli

And from your CLI inside the cloned / forked directory run:

  1. yarn

Develop

  1. yarn develop

Contentful Setup

Make sure to have contenful project/space created already

  1. yarn setup

Production Build

  1. yarn build