fix: add seperate config for different axes
6 files changed
tree: ef38b6ec08554e426cb3ead902254c2840abc169
  1. app/
  2. config/
  3. src/
  4. .editorconfig
  5. .gitattributes
  6. .gitignore
  7. .jshintrc
  8. .prettierrc
  9. .yo-rc.json
  10. _body.html
  11. index.html
  12. LICENSE
  13. package-lock.json
  14. package.json
  15. README.md
  16. tsconfig.json
  17. vite.config.ts
README.md

Apache ECharts Theme Builder

Dependencies

  • TypeScript
  • Vue 3
  • Element Plus
  • Vite

Structure

  • index.html Entry HTML that for development preview usage
  • body.html Body HTML that will be final integrated when deploying
  • src Source folder.
  • dist Distribution folder. It will be copied when deploying.

Recommanded Environment

  • VSCode + Volar

Vetur need to be disabled in this workspace because it‘s not support setup feature yet. You can replace the code using setup feature if you don’t like it.

Use

Get boilerplate

degit pissang/echarts-www-spa-boilerplate yourProjectName

Install

npm i

Start dev

npm run dev

Release

npm run release

Create a Page in echarts-www

cd echarts-www
npm run create:page
  • Project Name: Name of this project. It will be used to locate the project folder.
  • Page Name: Page name of this tool. Page URL will be https://echarts.apache.org/zh/${pageName}/index.html.
  • Page Title: Title of this page tool.
  • Page Chinese Title: Chinese title of this page tool.

Global Variables from echarts-www

  • ECHARTS_WEBSITE_LANGUAGE

Language of page. Can be ‘zh’ or ‘en’