- 官网首页: maa-website(本仓库) -> https://maa.plus
- 文档站: MAA主仓库/docs -> https://docs.maa.plus
注意:文档站的评论区使用此仓库的 Discussions
apps/webMAA official website, build withReact, host path/
- Node.js
24 - pnpm
Choose ONE of the following methods to set up your environment:
Please Install Node.js first, then install dependencies using pnpm in the ROOT directory:
npm install -g pnpm
pnpm install --frozen-lockfile --recursiveOpen this repository in GitHub Codespaces. Once it's ready, the environment will be set up automatically.
Execute in the ROOT directory:
pnpm devapps/webwill be hosted onhttp://localhost:3000
-
Prettier (global)
Prettier is configured at the root of the repository.
Its role is to enforce consistent code style and formatting across all apps/packages.
-
ESLint (per-app)
ESLint is configured separately within each app/package.
Its role is to enforce syntax rules, type checks, and framework-specific best practices (e.g., React rules).
Execute in ROOT directory:
- Lint check
pnpm lint # Both (prettier -> eslint)
pnpm lint:format # Use Prettier for code formatting
pnpm lint:code # Use ESLint for JS/TS code- Lint fix
pnpm lintfix # Both (prettier -> eslint)
pnpm lintfix:format # Use Prettier for code formatting
pnpm lintfix:code # Use ESLint for JS/TS codeExecute in ROOT directory:
pnpm buildThe build artifacts will be generated in ./dist. You can serve them locally with:
python -m http.server -d ./dist --bind 127.0.0.1or any other ways that you prefer.