Giter Site home page Giter Site logo

proximobinks / gatsby-starter-tailwind-css-netlify Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 195 KB

Quick-start Gatsby Starter integrated with Tailwind CSS v3.4.1 for custom designs, ready for Netlify deployment. Features custom theming, responsive nav, and a demo site.

Home Page: https://gatsby-starter-tailwind-css-netlify.netlify.app/

License: MIT License

JavaScript 99.21% CSS 0.79%
css-framework custom-theme gatsby gatsby-starter netlify responsive-design tailwindcss utility-first web-development site-development

gatsby-starter-tailwind-css-netlify's Introduction

Gatsby Starter for Tailwind CSS & Netlify

License

Start your project quickly with this Gatsby Starter, integrating Tailwind CSS for styling and ready for seamless deployment with Netlify.

Tailwind CSS is a utility-first CSS framework for rapidly building custom designs.

This starter uses Tailwind CSS v3.4.1 and includes a customised Tailwind configuration. It sets you up with the following:

  • src/css/tailwind.css where Tailwind's base, components, and utilities directives are injected
  • A customised tailwind.config.js file that extends the default theme with custom colors, spacing, font sizes, and screen sizes
  • prettier
  • gatsby-plugin-postcss including autoprefixer
  • gatsby-plugin-react-helmet
  • gatsby-plugin-manifest
  • Includes a responsive nav bar, with animated hamburger dropdown
  • Custom 404 Page

Demo Site

You can view the demo site here

Prerequisites

Before you begin, ensure you have the following installed:

This will prepare your environment for developing with Gatsby and Tailwind CSS.

๐Ÿš€ Quick start

  1. Create your Gatsby site

    Use the Gatsby CLI (npm install -g gatsby-cli if you don't have it already) to create your Gatsby site with Gatsby Starter TailwindCSS Netlify:

    gatsby new my-project-name https://github.com/ProximoBinks/gatsby-starter-tailwind-css-netlify
  2. Start Developing

    Navigate to your project folder and start the development server:

    cd my-project-name
    gatsby develop

    If this doesn't work you may want to run the following commands then try again

    npm install
    npm update
  3. 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 my-project-name directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!

๐Ÿš€ Quick start (Netlify)

Deploy this starter with one click on Netlify

Deploy to Netlify

When deploying with Netlify, use 'Build Command' gatsby clean && gatsby build, and make sure that it's 'Published to' public

Now you're all set to create your Gatsby site with Tailwind CSS, using the customised configuration, and deploy it effortlessly with Netlify!


Credits

Created by Elliot Koh

This project is a part of my effort to simplify web development workflows and share knowledge with the community.

For more projects and contributions:

ยฉ 2024 Elliot Koh. All rights reserved.

gatsby-starter-tailwind-css-netlify's People

Contributors

proximobinks avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.