我试着在codesandbox中做到这一点: const Chart = require("chart.js"); this.chart = new Chart(this.chartRef.current和那个Chart is not a constructor 我还尝试将其替换为 import Chart from chart.js 但这也不起作用。我怎样才能修复我的codesandbox?
许多句子包含缩写,如e.g.或eg.,因此我用这些自定义缩写更新了标记器。React, Vue.js) and testing (e.g.React, Vue.js) and testing (e.g.因此,正如您所看到的,标记器不会在第一个缩写上拆分(正确),但是在第二个缩写(不正确)上会分裂。React, Vue.js) and testing (e.g.React, Vue.js) and testing (e.g