Time to design in the browser and create something awesome with tailwind!
This starter kit gives you a browser-sync dev server, which comes pretty handy. Everytime you save a HTML file, your browser will inject new styles / reload the page for your convenience, so you can focus on what you're creating.
Go ahead and build something cool!
yarn
or npm install
to install the required dependenciestailwind.js
config file (only if needed!)gulp
to kickoff the dev server, and open your browser window. Optionally you can run the following:
yarn dev
or npm run dev
to start the development serveryarn build
or npm run build
to run a build without starting the serverindex.html
in ./dist/
and start creating!If you make changes to the tailwind config, you may need to stop and restart the browser-sync server for changes to apply.
Have fun! 🎉