Monorepo for MAA Web frontend projects
Build With:
Monorepo Technology:
Deployment Status:
apps/webMAA official website, build withReact, host path/apps/docMAA documantation, build withVuePress, host path/docpackages/eslint-config-maaMAA eslint shared configurationpackages/maa-react-appMAA react app shared componentspackages/maa-tsconfigMAA typescript shared configuration
Requirements:
- NodeJS ^16.15.0
- Yarn ^1.22.19
Resolve dependencies with yarn in root directory
yarnStart a development server
apps/webwill be hosted onhttp://localhost:3000apps/docwill be hosted onhttp://localhost:3001/doc
yarn dev # Home and Doc:zh-CN
yarn dev:home # Home ONLY
yarn dev:doc:cn # Doc:zh-CN ONLY
yarn dev:doc:en # Doc:en ONLYLint code
yarn lint # All
yarn lint:js # Use ESLint for JS/TS code
yarn lint:prettier # Use Prettier for code formattingLint fix
yarn lintfixBuild release
yarn build # This will run lint first