🛠️ Development
Building React UI
cd src/web
npm install
npm run dev # Development server
npm run build # Production build
npm run lint # ESLint checkProject Structure (Frontend)
src/web/src/
├── components/
│ ├── chat/ # Chat components
│ ├── admin/ # Admin editor components
│ └── ui/ # UI components
├── pages/
│ └── AdminEditor.tsx # Admin editor page
├── hooks/
│ └── useNuiEvent.ts # NUI event hook
├── lib/
│ ├── chat-utils.ts
│ ├── command-handler.ts
│ ├── discord-utils.ts
│ ├── icon-utils.tsx
│ └── utils.ts
├── types/
│ └── chat.types.ts
├── utils/
│ └── fetchNui.ts
├── config/
│ └── chat.config.ts
├── App.tsx
├── main.tsx
└── index.cssAdding New Components
Modifying Lua Backend
Testing
Code Style
External Links
Community
Last updated