A Nuxt.js example with Tailwind CSS v1.2 and Purgecss
# Clone the repository
git clone https://github.com/stursby/nuxt-tailwind-purgecss.git
# Go into the repository
cd nuxt-tailwind-purgecss
# Install dependencies
yarn
# or npm install
yarn dev
# or npm run dev
Now you should see the project at http://localhost:3000
yarn build
# or npm run build
This will output the production files to the /dist
folder. Note that I’m opting to use nuxt generate
under the hood which renders the page(s) fully static. You can read more about the different Nuxt build options here.
Currently, this simple demo app scores very well in Chrome’s Lighthouse Audit. If you notices any performance issues, plese let me know, or submit a PR!
This project was created by:
This project is build using the following software & plugins: