You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-17Lines changed: 12 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,37 +6,32 @@ Website: www.flexmonster.com
6
6
7
7
Flexmonster Pivot is a powerful JavaScript tool for interactive web reporting. It allows you to visualize and analyze data from JSON, CSV, SQL, NoSQL, Elasticsearch, and OLAP data sources quickly and conveniently. Flexmonster is designed to integrate seamlessly with any client-side framework and can be easily embedded into your application.
8
8
9
-
This repository holds the source code for a simple [React Native](https://reactnative.dev/) and Flexmonster Pivot Table & Charts project:
9
+
This repository contains a sample [React Native](https://reactnative.dev/) project for Flexmonster Pivot Table & Charts.
10
+
11
+
Table of contents:
12
+
10
13
-[Prerequisites](#prerequisites)
11
14
-[Installation](#installation)
12
15
-[Usage](#usage)
13
16
14
17
## <aname="prerequisites"></a>Prerequisites ##
15
18
16
-
To run a simple application with the React Native pivot table, you will need Node.js and npm. [Get them here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) if they're not already installed on your machine.
17
-
18
-
Then install the Expo CLI globally by running:
19
-
20
-
```bash
21
-
npm install -g expo-cli
22
-
```
23
-
19
+
-[Node.js](https://nodejs.org/en/)
20
+
-[Expo CLI](https://expo.dev/tools#cli)
24
21
25
22
## <aname="installation"></a>Installation ##
26
23
27
-
28
-
1) Clone the sample project:
24
+
1) Download a `.zip` archive with the sample project or clone it from GitHub with the following command:
2) Install the dependencies definedin`package.json`:
28
+
2) Install the npm dependencies describedin`package.json`:
34
29
```bash
35
-
npm i
30
+
npm install
36
31
```
37
32
If the above command failed, run it with the `--force` flag:
38
33
```bash
39
-
npm i --force
34
+
npm install --force
40
35
```
41
36
3) For React 17 or earlier, change [the last two lines of code](https://github.com/flexmonster/pivot-react-native/blob/master/components/PivotTable.js#L119-L120) in the `components/PivotTable.js`:
42
37
- Uncomment the following line:
@@ -53,4 +48,4 @@ npm install -g expo-cli
53
48
```
54
49
## <a name="usage"></a>Usage ##
55
50
56
-
For details on usage, refer to [Flexmonster Integration with React Native](https://www.flexmonster.com/doc/integration-with-react-native/) tutorial.
51
+
For details on usage, refer to the [Integration with React Native](https://www.flexmonster.com/doc/integration-with-react-native/) guide.
0 commit comments