
유용한 명령어
앱 시작하기
API GraphQL 스키마를 기반으로 GraphQL 스키마 재생성
린트
번역
테스트
기술 스택
프로젝트는 최소한의 보일러플레이트 코드로 깔끔하고 단순한 스택을 가지고 있습니다. 앱 테스트 도구아키텍처
라우팅
React Router가 라우팅을 처리합니다. 불필요한 재렌더링을 피하기 위해 모든 라우팅 로직은PageChangeEffect의 useEffect에 있습니다.

npx nx start twenty-front
npx nx run twenty-front:graphql:generate --configuration=metadata
npx nx run twenty-front:graphql:generate
npx nx run twenty-front:lint # pass --fix to fix lint errors
npx nx run twenty-front:lingui:extract
npx nx run twenty-front:lingui:compile
npx nx run twenty-front:test # run jest tests
npx nx run twenty-front:storybook:serve:dev # run storybook
npx nx run twenty-front:storybook:test # run tests # (needs yarn storybook:serve:dev to be running)
npx nx run twenty-front:storybook:coverage # (needs yarn storybook:serve:dev to be running)
PageChangeEffect의 useEffect에 있습니다.
이 페이지가 도움이 되었나요?