Most simply Next.js application starter
I need to get the most simple starter for Next.js using Typescript. It’s just run create-next-app and se […]
広告ここから
広告ここまで
目次
I need to get the most simple starter for Next.js using Typescript.
It’s just run create-next-app
and setup TypeScript.
I can not find any famous third party starter, so I made it.
Usage
Just put the URL to create-next-app
option.
$ npx create-next-app YOUR_APP_NAME --example "https://github.com/wpkyoto/nextjs-starter-typescript/tree/main"
$ cd YOUR_APP_NAME
$ npm run dev
# or
$ yarn dev
Files
The starter will made these files. It’s simple.
% tree -I node_modules
.
├── README.md
├── next-env.d.ts
├── package.json
├── pages
│ ├── _app.tsx
│ ├── api
│ │ └── hello.ts
│ └── index.tsx
├── public
│ ├── favicon.ico
│ └── vercel.svg
├── styles
│ ├── Home.module.css
│ └── globals.css
├── tsconfig.json
└── yarn.lock
4 directories, 12 files