Next.js

约 1 分钟阅读 阅读
  1. 初始化Next.js项目

首先,创建一个新的Next.js项目:

npx create-next-app next-quiz-app
cd next-quiz-app

运行

npm run dev

ESLint

npm run lint
> next-quiz-app@0.1.0 lint
> next lint

✔ No ESLint warnings or errors

相关文章