[Docs] ECharts 插件引入文档完全错误

Open Beginner friendly
#1,724 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
documentation

Research direction

Start with the linked ECharts plugin wiki page and compare its examples with the 0.11.1 package exports and the documented dist/addons/advance/cherry-table-echarts-plugin path. Verify which plugin name and import form are supported, then update the documentation so its example works for the stated version.

Written by the indexing model from the issue text.

Description

📃documentation pending-no-confirmed

版本号:最新的0.11.1

查看源码发现以下文档 存在明显错误:
1、首先根本就没有 EChartsTablePlugin 这个变量,只有 EChartsTableEngine
2、其次 import { EChartsTableEngine } from 'cherry-markdown'这种写法也是行不通的,会报错没有导出EChartsTableEngine,还是只能用旧写法import EChartsTableEngine from 'cherry-markdown/dist/addons/advance/cherry-table-echarts-plugin' 种形式写;

不知道是源码没更新,还是文档写错了,建议核对完善文档,为了调这个ECharts已经浪费了两个多月时间了,总是各种报错。

Image
Dominant language
JavaScript
Stars
4.9k
Forks
572
Avg merge
17h 5m
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tencent/cherry-markdown

All issues in Tencent/cherry-markdown

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.