This is a demo project to show how to setup NextJS with TypeScript, TailwindCSS and Jest.
It shows how you can use a utility-first CSS framework with snapshot testing to have nice tests with different component stats (loading, disabled, active, ...).
To reduce the CSS bundle size of TailwindCSS, I added PurgeCSS.
npm install
npm run dev
npm test
npm run build
npm run start