File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 4.0.3] - 2021-08-15
4
+ ### Fixed
5
+ - Removing declaration for ` plotly.js-dist-min ` . We can use the ` @types/plotly.js-dist-min ` npm package now
6
+ - Updating README.md about the installation using ` plotly.js-dist-min ` and ` @types/plotly.js-dist-min `
7
+
3
8
## [ 4.0.2] - 2021-08-12
4
9
### Fixed
5
10
- declaration for ` plotly.js-dist-min `
Original file line number Diff line number Diff line change @@ -32,20 +32,18 @@ Using the [angular CLI](https://cli.angular.io/) to start a new project
32
32
``` bash
33
33
$ ng new my-project
34
34
$ cd my-project
35
- $ npm install angular-plotly.js plotly.js-dist --save
36
- $ npm install @types/plotly.js --save-dev
35
+ $ npm install angular-plotly.js plotly.js-dist-min --save
36
+ $ npm install @types/plotly.js-dist-min --save-dev
37
37
```
38
38
39
- Finally you need to rename the ` node_modules/@types/plotly.js ` folder to ` plotly.js-dist `
40
-
41
39
## Quick start
42
40
43
41
Add the ` PlotlyModule ` into the main app module of your project
44
42
``` typescript
45
43
import { NgModule } from ' @angular/core' ;
46
44
import { CommonModule } from ' @angular/common' ;
47
45
48
- import * as PlotlyJS from ' plotly.js-dist' ;
46
+ import * as PlotlyJS from ' plotly.js-dist-min ' ;
49
47
import { PlotlyModule } from ' angular-plotly.js' ;
50
48
51
49
PlotlyModule .plotlyjs = PlotlyJS ;
You can’t perform that action at this time.
0 commit comments