issues
search
fnobi
/
hinagata-next
10
stars
1
forks
source link
meta周りの再調整
#35
Closed
fnobi
closed
4 years ago
fnobi
commented
4 years ago
metaにshareImage渡すなら、カノニカルも渡せないと
DefaultLayoutを_app.tsxに内包したい
ページ遷移時にDefaultLayoutが再レンダリングされるのがナンセンス
meta設定機構とlayoutは分けたほうがいいかも
つまるところnuxtでlayoutsが別れてるのはやっぱり正しいんだなあ
各ページのメタ設定を渡すのはgetInitialPropsでやるのがよさそう