davidtheweb-dev / simple-tailwind-starter

Extremely simple setup to develop Tailwind projects with everything you need to have a good development experience (ESlint + Prettier).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starter app for Tailwind projects

This is an extremely simple setup to develop Tailwind projects with everything you need to have a good development experience (ESlint + Prettier).

Dependencies included:

Required plugins (must be installed via VSCode extensions):

  • ESLint
  • PostCSS Language Support
  • Prettier - Code formatter
  • Tailwind CSS IntelliSense

Usage

Install required VSCode plugins

Install dependencies:

npm install

Run Tailwind CLI in watch mode:

npm run watch

You can use tailwind classes in any .html files in the src directory

Put any custom CSS that you may have in the input.css file

Add any config values to the tailwind.config.js file

To build once, run:

npm run build

You only need to deploy your html files and css/style.css

Enjoy! 😋

About

Extremely simple setup to develop Tailwind projects with everything you need to have a good development experience (ESlint + Prettier).

License:MIT License


Languages

Language:CSS 93.7%Language:HTML 4.4%Language:JavaScript 1.9%