Tailwind CSS Template

This is a simple template for using tailwindcss with Node.js.

Fork this repl to create your own website. The css files will get built automatically when someone visits the main page.

Contents

index.js contains the code for the webserver. Feel free to tweak it so it fits your needs.

input.css contains the tailwind libraries to make it function. You can modify it by following this guide on https://tailwindcss.com

tailwind.config.js is responsible for configuring the build process of your css.

pages/ contains your html files. Make sure to put them there.

public/ contains your images, music and everything that does not belong into pages/. You can also find the css file there that tailwindcss generates