Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4bc964b

Browse files
committed
Updating docs referred to plotly.js-dist-min
1 parentb086143 commit4bc964b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

‎CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
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`

‎README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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

4341
Add the`PlotlyModule` into the main app module of your project
4442
```typescript
4543
import {NgModule }from'@angular/core';
4644
import {CommonModule }from'@angular/common';
4745

48-
import*asPlotlyJSfrom'plotly.js-dist';
46+
import*asPlotlyJSfrom'plotly.js-dist-min';
4947
import {PlotlyModule }from'angular-plotly.js';
5048

5149
PlotlyModule.plotlyjs=PlotlyJS;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp