Skip to content

About

Source for the Deep-Viz component gallery (React + Dva + Ant Design). Deep-Viz 组件库展示网站

Topics

Resources

Stars

11 stars

Watchers

4 watching

Forks

Repository files navigation

Deep-Viz

Deep-Viz Website

Source for the Deep-Viz component gallery.

react 15 dva 1.2 antd 3 roadhog 0.6 Pages license

Live gallery · Deep-Viz library · Changelog · 中文文档


Deep-Viz is a React chart library: concise, consistent, good-looking charts distilled from years of commercial data-visualisation practice. This repo holds the gallery site that showcases it — and is where most of the component development happens.

Stack: React + Dva + Deep-Viz + Ant Design.

Requirements

Node 20, and npm.

roadhog 0.6 predates peer-dependency enforcement and resolves its own loaders through a flat node_modules, so this repo uses npm install --legacy-peer-deps and cannot use pnpm.

Development

# install
npm install --legacy-peer-deps

# dev server, http://localhost:8000
npm start

# production build, output in dist/
npm run build

# lint
npm run lint

Deployment

Pushing to master triggers pages.yml, which builds the site and publishes it to GitHub Pages.

publicPath in .roadhogrc is the relative ./, so one build works unchanged at /deepviz/, /Deep-Viz-Website/ or the domain root.

Background: https://ludejun.github.io/deepviz/ has always been this repo's build output, copied by hand into a separate deepviz repo — while this repo's own Pages pointed at the master root, which has no index.html, and so returned 404. Now that this repo deploys itself, that manual copy can be retired.

Contributing

Issues and pull requests are welcome.

License

MIT

About

Source for the Deep-Viz component gallery (React + Dva + Ant Design). Deep-Viz 组件库展示网站

Topics

Resources

Stars

11 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages