Source of Apache ECharts website

Clone this repo:
  1. 654c7e9 change jQuery CDN by plainheart · 19 hours ago master
  2. e49b5b0 Merge pull request #55 from apache/dependabot/npm_and_yarn/ansi-regex-4.1.1 by Zhongxiang Wang · 6 days ago
  3. 620db79 chore(deps-dev): bump ansi-regex from 4.1.0 to 4.1.1 by dependabot[bot] · 6 days ago
  4. 4b51a84 Merge pull request #54 from apache/dependabot/npm_and_yarn/braces-3.0.3 by Zhongxiang Wang · 6 days ago
  5. d195a16 chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by dependabot[bot] · 7 days ago

About

This project is part of the source of The Apache ECharts Official Website. See echarts-website for more details of the building process.

dev

Build website for local preview

npm run dev

Build jade

npm run jade

Build sass

npm run sass

Build jade, sass, and js

# Examples:
npm run dev -- --filter=jade,sass
npm run dev -- --filter=jade,sass,js

Watch

# Watch for jade, sass and js changes:
npm run watch
npm run watch:sass
npm run watch:jade

release

npm run release

Add SPA page

Add SPA page created by echarts-www-spa-boilerplate

npm run create:page

Then add this page entry in the menu.