Add Vite + Tailwind CSS v4 + daisyUI v5 static site template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,4 +6,28 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
This repository is for `kingmaker.gateway-gamers.net` — likely the website or backend service for a Kingmaker community on the Gateway Gamers network.
|
||||
|
||||
The repository is currently empty (no source code committed yet). Update this file once the project stack and structure are established.
|
||||
## Stack
|
||||
|
||||
- **Vite** — build tool and dev server
|
||||
- **Tailwind CSS v4** — utility-first CSS (configured via CSS, no `tailwind.config.js`)
|
||||
- **daisyUI v5** — component library plugin for Tailwind
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
npm install # install dependencies
|
||||
npm run dev # start dev server (http://localhost:5173)
|
||||
npm run build # production build → dist/
|
||||
npm run preview # preview production build locally
|
||||
```
|
||||
|
||||
## Structure
|
||||
|
||||
- `index.html` — Vite entry point at repo root
|
||||
- `src/style.css` — CSS entry; imports Tailwind and registers daisyUI via `@plugin`
|
||||
- `src/main.js` — JS entry point
|
||||
- `postcss.config.js` — wires `@tailwindcss/postcss` into Vite's PostCSS pipeline
|
||||
|
||||
## daisyUI theming
|
||||
|
||||
Set the active theme on `<html data-theme="...">`. Available themes are daisyUI's built-ins (e.g. `light`, `dark`, `cupcake`). Custom themes can be added in `src/style.css` using `@plugin "daisyui" { themes: [...] }`.
|
||||
|
||||
Reference in New Issue
Block a user