import Plotly from 'plotly.js-dist' ... Plotly.newPlot('div-id', data, layout, options);. In the html you'll need a div with the id you want ...
確定! 回上一頁