tailwind-styleguide
tailwind-styleguide copied to clipboard
Demo - Importing the TailwindCSS config file in Nuxt to generate a styleguide
Tailwind Styleguide
A quick demo to showcase how to import the TailwindCSS config file into the front end and iterate over the options.
Nuxt.js project
Build Setup
# install dependencies
$ npm install # Or yarn
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.