Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layoutコンポーネントの共通化 #101

Open
FAL-coffee opened this issue Jan 22, 2022 · 1 comment
Open

Layoutコンポーネントの共通化 #101

FAL-coffee opened this issue Jan 22, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@FAL-coffee
Copy link
Owner

概要

Layoutを現在は各pageに実装している。
Layoutコンポーネントは全画面で使用しても問題のない設計としたため、pages/_app.tsxへの移行を行う

目的

各page実装時の手間の削減

@FAL-coffee FAL-coffee added the enhancement New feature or request label Jan 22, 2022
@FAL-coffee FAL-coffee self-assigned this Jan 22, 2022
@FAL-coffee
Copy link
Owner Author

現在はnext/headタグをLayoutに含めている。
各pageからpropsとしてmeta情報を渡しているが、Layoutコンポーネントの共通化を行った場合、
head等のmeta情報は各pageに記述することになる。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant