klinecharts / KLineChart

📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)

Home Page:https://klinecharts.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

低版本兼容问题咨询

LeeZChuan opened this issue · comments

Version

9.5.4

Steps to Reproduce

低版本兼容,使用官网提出的core.jsIntl.js

这两个插件可以顺利在chore49版本上的浏览器运行吗?我引入了发现import ‘intl’;会提示global is not defined;

如果要兼容低版本浏览器还需要做哪些操作呢?

Current Behavior

低版本浏览器兼容

Expected Behavior

期望给出一个解决方案

Environment

- OS:
- Browser: Chrome 49
- Framework:

Any additional comments?

经过排查可以使用vite提供的低版本打包工具解决,不需要引入这两个库