Commit 9ac7f4e 1 parent 3198371 commit 9ac7f4e Copy full SHA for 9ac7f4e
File tree 3 files changed +19
-16
lines changed
3 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,14 @@ Start with bootstrapping a React app with `create-react-app`
45
45
npx create-react-app your-feast-ui
46
46
```
47
47
48
- Then, in your app folder, install Feast UI and its peer dependencies. Assuming you use yarn
48
+ Then, in your app folder, install Feast UI and optionally its peer dependencies. Assuming you use yarn
49
49
50
50
```
51
51
yarn add @feast-dev/feast-ui
52
- yarn add @elastic/eui @elastic/datemath @emotion/react moment prop-types inter-ui react-query react-router-dom use-query-params zod typescript query-string d3 @types/d3
52
+ # For custom UI using the Elastic UI Framework (optional):
53
+ yarn add @elastic/eui
54
+ # For general custom styling (optional):
55
+ yarn add @emotion/react
53
56
```
54
57
55
58
Edit ` index.js ` in the React app to use Feast UI.
Original file line number Diff line number Diff line change @@ -21,11 +21,14 @@ Start with bootstrapping a React app with `create-react-app`
21
21
npx create-react-app your-feast-ui
22
22
```
23
23
24
- Then, in your app folder, install Feast UI and its peer dependencies. Assuming you use yarn
24
+ Then, in your app folder, install Feast UI and optionally its peer dependencies. Assuming you use yarn
25
25
26
26
```
27
27
yarn add @feast-dev/feast-ui
28
- yarn add @elastic/eui @elastic/datemath @emotion/react moment prop-types inter-ui react-query react-router-dom use-query-params zod typescript query-string d3 @types/d3
28
+ # For custom UI using the Elastic UI Framework (optional):
29
+ yarn add @elastic/eui
30
+ # For general custom styling (optional):
31
+ yarn add @emotion/react
29
32
```
30
33
31
34
Edit ` index.js ` in the React app to use Feast UI.
Original file line number Diff line number Diff line change 9
9
"types" : " ./dist/FeastUI.d.ts" ,
10
10
"module" : " ./dist/feast-ui.module.js" ,
11
11
"peerDependencies" : {
12
- "@elastic/datemath" : " ^5.0.3" ,
13
12
"@elastic/eui" : " ^55.0.1" ,
14
13
"@emotion/react" : " ^11.7.1" ,
15
- "d3" : " ^7.3.0" ,
16
- "inter-ui" : " ^3.19.3" ,
17
- "moment" : " ^2.29.1" ,
18
- "prop-types" : " ^15.8.1" ,
19
- "query-string" : " ^7.1.1" ,
20
14
"react" : " ^17.0.2" ,
21
- "react-dom" : " ^17.0.2" ,
22
- "react-query" : " ^3.34.12" ,
23
- "react-router-dom" : " <6.4.0" ,
24
- "react-scripts" : " ^5.0.0" ,
25
- "use-query-params" : " ^1.2.3" ,
26
- "zod" : " ^3.11.6"
15
+ "react-dom" : " ^17.0.2"
16
+ },
17
+ "peerDependenciesMeta" : {
18
+ "@elastic/eui" : {
19
+ "optional" : true
20
+ },
21
+ "@emotion/react" : {
22
+ "optional" : true
23
+ }
27
24
},
28
25
"dependencies" : {
29
26
"@elastic/datemath" : " ^5.0.3" ,
You can’t perform that action at this time.
0 commit comments