I've been using Spotlight Tailwind UI site template, built using Tailwind CSS and Next.js.
To get started with this template, first install the npm dependencies:
npm install
Next, create a .env.local
file in the root of your project and set the NEXT_PUBLIC_SITE_URL
variable to your site's public URL:
NEXT_PUBLIC_SITE_URL=https://example.com
Next, run the development server:
npm run dev
Finally, open http://localhost:3000 in your browser to view the website.
You can start editing this template by modifying the files in the /src
folder. The site will auto-update as you edit these files.
This site template is a commercial product and is licensed under the Tailwind UI license.
To learn more about the technologies used in this site template, see the following resources:
- Tailwind CSS - the official Tailwind CSS documentation
- Next.js - the official Next.js documentation
- Headless UI - the official Headless UI documentation
- MDX - the MDX documentation