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 11# Changelog
22
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+
38## [ 4.0.2] - 2021-08-12
49### Fixed
510- 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
3232``` bash
3333$ ng new my-project
3434$ 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
3737```
3838
39- Finally you need to rename the ` node_modules/@types/plotly.js ` folder to ` plotly.js-dist `
40-
4139## Quick start
4240
4341Add the ` PlotlyModule ` into the main app module of your project
4442``` typescript
4543import { NgModule } from ' @angular/core' ;
4644import { CommonModule } from ' @angular/common' ;
4745
48- import * as PlotlyJS from ' plotly.js-dist' ;
46+ import * as PlotlyJS from ' plotly.js-dist-min ' ;
4947import { PlotlyModule } from ' angular-plotly.js' ;
5048
5149PlotlyModule .plotlyjs = PlotlyJS ;
You can’t perform that action at this time.
0 commit comments