Closed Hikari7 closed 1 month ago
こんな感じで行こうかな。。。 https://nextjs.org/docs/app/building-your-application/routing/route-groups#convention
├── app/ │ └── (home)/ │ ├── page.tsx...基本的にfeartureのコンポーネントを組み合わせるだけ │ └── index.stories.tsx │ └── (word_register)/ │ ├── page.tsx...基本的にfeartureのコンポーネントを組み合わせるだけ │ └── index.stories.tsx └── feature/ ├── ui/ │ ├── common/ │ │ └── Button/ │ │ ├── index.tsx │ │ ├── index.test.tsx │ │ └── index.stories.tsx │ └── layouts/ │ └── Header/ │ ├── index.tsx │ ├── index.test.tsx │ └── index.stories.tsx └── packages/ └── Home/ └── components/ ├── Card/ │ ├── index.tsx │ ├── index.test.tsx │ └── index.stories.tsx ├── xxxx/ │ ├── index.tsx │ ├── index.test.tsx │ └── index.stories.tsx └── index.ts (すべてエクスポート)
こんな感じで行こうかな。。。 https://nextjs.org/docs/app/building-your-application/routing/route-groups#convention