Next.js
- 初始化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
首先,创建一个新的Next.js项目:
npx create-next-app next-quiz-app
cd next-quiz-app
运行
npm run dev
npm run lint
> next-quiz-app@0.1.0 lint
> next lint
✔ No ESLint warnings or errors