In this lesson, we learn how to generate CSS utility classes from Tailwind's JavaScript config file. We set up a new project from scratch, install tailwind, generate a config file and build a simple gulp task that runs that file through PostCSS to generate the desired CSS output.
file through PostCSS via gulp.
The package is called tailwindcss not tailwind :)
You need to add autoprefixer for lastest version of tailwind.
yarn add autoprefixer --dev
If you're using npm >= 5, you can always run binaries like so:
npx tailwind init