Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 899 Bytes

README.md

File metadata and controls

53 lines (35 loc) · 899 Bytes

tailwindcss-boilerplate

A quick opionated setup to get you up and running without doing any configuration. This is useful for prototype.

Installation

To get started:

  1. Clone the repository:

git clone https://github.com/peoray/tailwind-boilerplate.git cd tailwind-boilerplate

  1. Install the dependencies:

    # npm
    npm install
    
    # yarn
    yarn install
    
  2. Start up development server

    # npm
    npm run start
    
    # yarn
    yarn run start
    

To build for production

The production code is optimized using cssnano.

To run

    # npm
    npm run prod

    # Yarn
    yarn run prod

This will create a minify css file in dist/css/main.css.

Tailwind Config

You can find an example of a tailwind config file here

License

MIT