Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ephraimduncan/react-bolt-tailwind

React + Tailwind CSS Boilerplate
https://github.com/ephraimduncan/react-bolt-tailwind

autoprefixer boilerplate-template css postcss react react-router react-tailwind-starter react-tailwindcss reactjs sass tailwind-css tailwindcss template

Last synced: 20 days ago
JSON representation

React + Tailwind CSS Boilerplate

Awesome Lists containing this project

README

        




React BoltReact Bolt




React Bolt Lite + Tailwind

The best boilerplate for your React projects.



PRs Welcome


License MIT


## Introduction

This boilerplate contains all you need to start your next React.js project. Simple, robust, well-organized, all you need to do is clone, install and you're ready to start.

This is a lite version of a larger project [here](https://github.com/dephraiim/react-bolt-lite.git)

Without Tailwind [Here](https://github.com/leonardomso/react-bolt)

There is an article for anyone who wants to learn how to build this boilerplate, if you want to learn just click [here](https://medium.freecodecamp.org/a-complete-react-boilerplate-tutorial-from-zero-to-hero-20023e086c4a).

## Features

This boilerplate features all the latest tools and practices in the industry.

- ⚛ **React** — 16.12.0 with Hooks
- 🛠 **Babel** — ES6 syntax, Airbnb & React/Recommended config
- 🚀 **Webpack** — Hot Reloading, Code Splitting, Optimized Build
- 💅 **CSS** — CSS, Sass, **Tailwind, PostCSS with Autoprefixer**
- 💖 **Lint** — ESlint

For more features, click [here](https://github.com/leonardomso/react-bolt)

## Getting started

1. Clone this repo using `https://github.com/dephraiim/react-bolt-tailwind.git`
2. Move to the appropriate directory: `cd react-bolt-lite`.

3. Run `yarn` or `npm install` to install dependencies.

4. Run `npm start` to see the example app at `http://localhost:8080`.

## Commands

- `npm start` - start the dev server
- `npm run build` - create a production ready build in `dist` folder
- `npm run lint` - execute an eslint check
- `npm run lint:fix` - execute an eslint and fix the errors
- `npm run build:css` - build the tailwind css for production
- `npm run watch:css` - watch for the compiling tailwind css with autoprefixes

## Next features:

- [x] **Hot Module Replacement**: Better HMR support;
- [x] **CSS/Sass support**: Enable CSS/Sass support;
- [ ] **PWA**: Turn into a PWA boilerplate;
- [ ] **SEO**: SEO-ready;

## License

MIT license, Copyright (c) 2020 Ephraim Atta-Duncan