webpack-babel-typescript-tailwind Tailwind Templates

Webpack Babel Typescript Tailwind

Tailwind Template

Here's a working template for Tailwind. I primarily made it to have as a broiler plate for code excerises in other repos.

it contains:

  • Tailwind

  • Webpack

  • Typescript

  • Babel

  • Jest

  • prettier

  • file loader

  • style loader

  • css loader

  • url loader

  • HtmlWebpackPlugin

Notes to myself

Pay no attention to the notes below. They're simply references to setting up this repo from another repo i made:

First remove sass, remove all sass files and sass references THEN remove the uninstall the loaders and remove wepack config

This is beacuse you don’t need to use a preprocessor with Tailwind.

then follow Brad Treversy's Guide

Important: when you make style changes, you need to run:

npm run webpack

then:

npm run dev

Top categories

Loading Svelte Themes