Skip to content

Commit 4ea955c

Browse files
committed
Update dashboard-table-view
1 parent 00fd38b commit 4ea955c

30 files changed

+2055
-197
lines changed

dashboard-table-view/react/.gitignore

Lines changed: 23 additions & 5 deletions
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

dashboard-table-view/react/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# Table View - SurveyJS Dashboard for React
22

3-
This example is used in the following help topic: [Table View for Survey Results in a React Application](https://surveyjs.io/dashboard/documentation/set-up-table-view/react). It was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
This example is used in the following help topic: [Table View for Survey Results in a React Application](https://surveyjs.io/dashboard/documentation/set-up-table-view/react). 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-
npm run 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.
Lines changed: 8 additions & 0 deletions
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)