diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dafa699 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +dist/ +.env +.env.local diff --git a/CLAUDE.md b/CLAUDE.md index 1733d28..fe50f2f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 ``. 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: [...] }`. diff --git a/index.html b/index.html new file mode 100644 index 0000000..d4d3acf --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + Kingmaker + + + + + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..d561a5c --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "kingmaker-gateway-gamers", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "devDependencies": { + "@tailwindcss/postcss": "^4.0.0", + "daisyui": "^5.0.0", + "tailwindcss": "^4.0.0", + "vite": "^6.0.0" + } +} diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..1d5a3b2 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +export default { + plugins: { + '@tailwindcss/postcss': {} + } +} diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main.js @@ -0,0 +1 @@ + diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..4c1b0c2 --- /dev/null +++ b/src/style.css @@ -0,0 +1,2 @@ +@import "tailwindcss"; +@plugin "daisyui"; diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..4f1b25a --- /dev/null +++ b/vite.config.js @@ -0,0 +1,3 @@ +import { defineConfig } from 'vite' + +export default defineConfig({})