Tailwind CSS and TypeScript for Gatsby: A Comprehensive Guide

Gatsby TypeScript Tailwind

๐Ÿš€ Quick start

Clone the project and start developing.

Navigate into your new siteโ€™s directory and start it up.

git clone https://github.com/impulse/gatsby-typescript-tailwind
cd gatsby-typescript-tailwind/
gatsby develop

Open the source code and start editing!

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.

Open the gatsby-typescript-tailwind directory in your code editor of choice and edit src/pages/index.tsx. Save your changes and the browser will update in real time!

๐ŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:

For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

.all-contributorsrc

{
  "files": [
    "README.md"
  ],
  "imageSize": 100,
  "commit": false,
  "contributors": [
    {
      "login": "Jarrku",
      "name": "Simon VDB",
      "avatar_url": "https://avatars3.githubusercontent.com/u/7694752?v=4",
      "profile": "https://github.com/Jarrku",
      "contributions": [
        "code"
      ]
    }
  ],
  "contributorsPerLine": 7,
  "projectName": "gatsby-typescript-tailwind",
  "projectOwner": "impulse",
  "repoType": "github",
  "repoHost": "https://github.com"
}

.eslintrc

{
  "extends": "react-app",
  "globals": {
    "__PATH_PREFIX__": true
  }
}

.gitignore

# MISC
.husky

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variable files
.env*

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

.prettierignore

.cache
package.json
package-lock.json
public

.prettierrc

{
  "endOfLine": "lf",
  "semi": false,
  "singleQuote": false,
  "tabWidth": 2,
  "trailingComma": "es5"
}

Download details:

Author: ecklf
Source: https://github.com/ecklf/gatsby-typescript-tailwind

License: MIT license

#tailwindcss #typescript #Gatsby 

Tailwind CSS and TypeScript for Gatsby: A Comprehensive Guide
1.00 GEEK