A bash script that gets you developing in TailwindCSS in under eight seconds!
bash <(curl -s https://raw.githubusercontent.com/program247365/tailwindcss-now/main/twnow.sh)
git clone https://github.com/program247365/tailwindcss-now.git
- Run
cd tailwdincss-now && ./twnow.sh
- Edit your
src/index.html
to see instant changes!
- The bash script writes out all the files you need in one go - writes files, starts server to watch live changes:
package.json
with NPM scriptsnpm run start
which serves and then opens the page for you at http://127.0.0.1:8080/npm run serve
which watches your changes with live-server
index.html
file with TailwindCSS lib via CDN, and config embedded in the HTML