8000 Update README.md · flexmonster/pivot-react-native@a5a259c · GitHub
[go: up one dir, main page]

Skip to content

Commit a5a259c

Browse files
authored
Update README.md
1 parent ba009e9 commit a5a259c

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,32 @@ Website: www.flexmonster.com
66

77
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.
88

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+
1013
- [Prerequisites](#prerequisites)
1114
- [Installation](#installation)
1215
- [Usage](#usage)
1316

1417
## <a name="prerequisites"></a>Prerequisites ##
1518

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)
2421

2522
## <a name="installation"></a>Installation ##
2623

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:
2925
```bash
30-
git clone https://github.com/flexmonster/pivot-react-native.git
31-
cd pivot-react-native
26+
git clone https://github.com/flexmonster/pivot-react-native.git && cd pivot-react-native
3227
```
33-
2) Install the dependencies defined in `package.json`:
28+
2) Install the npm dependencies described in `package.json`:
3429
```bash
35-
npm i
30+
npm install
3631
```
3732
If the above command failed, run it with the `--force` flag:
3833
```bash
39-
npm i --force
34+
npm install --force
4035
```
4136
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`:
4237
- Uncomment the following line:
@@ -53,4 +48,4 @@ npm install -g expo-cli
5348
```
5449
## <a name="usage"></a>Usage ##
5550
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

Comments
 (0)
0