在我的打字稿文件我用import 'plotly.js'; 這是確定的,但我得到的錯誤代碼上 ... 我正在做'var Plotly = require('plotly.js/dist/plotly.js')'這也正常工作。
確定! 回上一頁