Skip to content

Commit e56291e

Browse files
committed
Update quiz
1 parent d57073d commit e56291e

29 files changed

+819
-177
lines changed

Diff for: quiz/react/.gitignore

+23-5
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,39 @@
33
# dependencies
44
/node_modules
55
/.pnp
6-
.pnp.js
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
712

813
# testing
914
/coverage
1015

16+
# next.js
17+
/.next/
18+
/out/
19+
1120
# production
1221
/build
1322

1423
# misc
1524
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
25+
*.pem
2026

27+
# debug
2128
npm-debug.log*
2229
yarn-debug.log*
2330
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

Diff for: quiz/react/README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# Create a Quiz (SurveyJS for React)
22

3-
This example is used in the following help topic: [Create a Quiz](https://surveyjs.io/Documentation/Library?id=design-survey-create-a-quiz). It was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
This example is used in the following help topic: [Create a Quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz). It is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/pages/api-reference/create-next-app).
44

5-
## Development server
5+
## Run the Application
66

7-
Run the app in the development mode:
8-
9-
```cmd
10-
yarn start
7+
```bash
8+
npm run dev
119
```
1210

13-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.
11+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

Diff for: quiz/react/next.config.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
reactStrictMode: true,
6+
};
7+
8+
export default nextConfig;

0 commit comments

Comments
 (0)