LoginSignup
1
0

More than 1 year has passed since last update.

Next.jsのチュートリアルを実施する。(TypeScript編)

Last updated at Posted at 2022-08-02

はじめに

Next.jsのチュートリアルを実施します。

スクリーンショット 2022-08-02 20.00.44.png

チュートリアル開始

プロジェクト作成
yarn create next-app --typescript

#プロジェクト名を指定して作成
yarn create next-app プロジェクト名 --typescript
~/develop/nextjs $ ls
my-app
~/develop/nextjs/my-app $ yarn dev
yarn run v1.22.5
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - SWC minify release candidate enabled. https://nextjs.link/swcmin
event - compiled client and server successfully in 2.5s (169 modules)

→http:localhost:3000でアクセス。

スクリーンショット 2022-08-02 20.06.02.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0