Pular para o conteúdo principal

First Run

Start the dev server​

pnpm dev

This starts the development server at http://localhost:5173.

What you should see​

  1. The app loads with your brand configuration (logo, colors, name)
  2. The header shows your brand logo and navigation
  3. The sidebar shows casino/sports sections
  4. 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.

Next steps​

  • Theming — Customize your brand colors
  • Routes — Add or remove pages
  • Layout — Customize the layout