
便利なコマンド
アプリの開始
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にあります。
このページは役に立ちましたか?