Skip to content

mysilio-co/exquisite-garden

Repository files navigation

swrlit with Next.js and Tailwind CSS example

This is an example of using swrlit and Tailwind CSS in a Next.js project.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --use-npm --example https://github.com/itme/nextjs-swrlit-tailwindcss nextjs-swrlit-tailwindcss-app
# or
yarn create next-app --example https://github.com/itme/nextjs-swrlit-tailwindcss nextjs-swrlit-tailwindcss-app

Deploy it to the cloud with Vercel (Documentation).

Notes

This example is a basic starting point for using swrlit with Next.js and Tailwind CSS. It includes the following PostCSS plugins:

To control the generated stylesheet's filesize, this example uses Tailwind CSS' purge option to remove unused CSS.

About

A demo Solid + WebMonetization app, first showcased at MozFest 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published