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

pages router から app router へ移行 #1

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

tamashiro-syuta
Copy link

目的

  • AppRouterへ移行

行ったこと

  • eslintの依存関係によるコミットできない問題を修正
  • pages routerからapp routerへ移行
    -getStaticPropsなどのpages routerの記法を、app router への記法へ更新
    • LinkImageなどのNext特有のコンポーネントを使うよう更新
    • データ取得はfetchを使用するように更新

留意事項

  • 取り急ぎ、今後の修正がしやすいように慣れているAppRouterに移行しましたmm

Copy link

vercel bot commented Jun 17, 2024

@tamashiro-syuta is attempting to deploy a commit to the Shinya Takara's projects Team on Vercel.

A member of the Team first needs to authorize it.

@tamashiro-syuta tamashiro-syuta changed the title Migrate app router pages router から app router へ移行 Jun 17, 2024
@@ -52,6 +51,9 @@
"tailwindcss": "^3.1.5",
"typescript": "4.7.4"
},
"resolutions": {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下のやりとりを参考にしています
yarnpkg/yarn#8976 (comment)

@TakaraShinya TakaraShinya merged commit 95f37d3 into TakaraShinya:master Jul 10, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants