Skip to content

Commit 4bb48b5

Browse files
authored
docs: fix installation instructions
Clarified installation instructions for Vega.
1 parent 0b15b52 commit 4bb48b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ A lightweight React wrapper around [`vega-embed`](https://github.com/vega/vega-e
77
```bash
88
npm i react-vega vega-embed vega-lite
99
```
10-
If you need to use Vega (not Vega-Lite), you will also need to install `vega`.
10+
11+
If you only need to use Vega (not Vega-Lite), you can install `vega`.
1112

1213
```bash
13-
npm i vega
14+
npm i react-vega vega-embed vega
1415
```
16+
1517
## Migrating to v8
1618

1719
In v8, the `data` prop was removed. Additionally, you can no longer update data by changing `spec.data` without the view being re-embedded. Instead use the [View API](https://vega.github.io/vega/docs/api/view) to update data. See the [Dynamic data](#1-dynamic-data) recipe for an example.

0 commit comments

Comments
 (0)