Skip to content

apache/echarts-www

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.