First Run
Start the dev server
pnpm dev
This starts the development server at http://localhost:5173.
What you should see
- The app loads with your brand configuration (logo, colors, name)
- The header shows your brand logo and navigation
- The sidebar shows casino/sports sections
- Login and Register buttons are visible in the header
Verify the setup
- Brand loads correctly — Logo and brand name appear in the header
- Theme colors — The primary color matches your
theme.config.ts - Auth works — Click "Entrar" to see the login modal
- Pages load — Navigate to different routes
Common issues
Blank page or error
Check that both .dev.vars and .env files exist with correct values.
"Failed to fetch brand" error
Verify API_BASE_URL and ORIGIN_DOMAIN are correct. The API must be reachable from your machine.
Colors don't match
Make sure theme.config.ts has your brand colors. Changes require restarting the dev server.
pnpm install fails
Check that .npmrc has a valid GitHub Packages token for @cactus-agents/* packages.