MAA 公式サイト
154
stars
410
commits
TypeScript
primary language
Aug 31, 2026
updated
注意:文档站的评论区使用本仓库的 Discussions
apps/web: MAA official website, built with React, hosted at /v24+v11+Choose ONE of the following methods to set up your environment:
Install pnpm. You could:
Node.jspnpm via corepackpnpm via npmInstall dependencies with pnpm:
pnpm install
No need to worry about the version issues - they are already taken care of in package.json.
Open this repository in GitHub Codespaces. Once it's ready, the environment will be set up automatically.
Execute in the ROOT directory:
pnpm dev
apps/web will be hosted on http://localhost:3000Prettier (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 the 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 code
Execute in the ROOT directory:
pnpm build
The build artifacts will be generated in ./dist. You can serve them locally with:
python -m http.server -d ./dist --bind 127.0.0.1
or any other method that you prefer.
(top 30 of 38)
TypeScript
90.2%
CSS
6.6%
JavaScript
1.9%
HTML
1.1%
MAA 公式サイト
154
stars
410
commits
TypeScript
primary language
Aug 31, 2026
updated
注意:文档站的评论区使用本仓库的 Discussions
apps/web: MAA official website, built with React, hosted at /v24+v11+Choose ONE of the following methods to set up your environment:
Install pnpm. You could:
Node.jspnpm via corepackpnpm via npmInstall dependencies with pnpm:
pnpm install
No need to worry about the version issues - they are already taken care of in package.json.
Open this repository in GitHub Codespaces. Once it's ready, the environment will be set up automatically.
Execute in the ROOT directory:
pnpm dev
apps/web will be hosted on http://localhost:3000Prettier (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 the 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 code
Execute in the ROOT directory:
pnpm build
The build artifacts will be generated in ./dist. You can serve them locally with:
python -m http.server -d ./dist --bind 127.0.0.1
or any other method that you prefer.
(top 30 of 38)
TypeScript
90.2%
CSS
6.6%
JavaScript
1.9%
HTML
1.1%