finds.dev← search

// the find

RubyLouvre/avalon.oniui

★ 413 · JavaScript · updated Sep 2016

基于avalon的组件库

A UI component library built on top of avalon, a Chinese MVVM framework that predates Vue's mainstream adoption. Produced by Qunar's (去哪儿网) frontend team around 2014-2015, it covers the standard enterprise widget set: datepicker, grid, dialog, dropdown, file upload, carousel, and about 30 others. This is a historical artifact, not a live project.

The theming system is well-thought-out — a single SCSS variable file controls the entire library's color palette across all components, which is cleaner than many jQuery UI clones of the same era. The component count is genuinely complete for its time: date range pickers, coupled datepickers, dual-list role selectors, and scrollspy all present and documented. Each component ships with its own SCSS source, compiled CSS, multiple example HTML files, and a doc page — more thorough than most internal component libraries that escape into the open. The build pipeline using r.js for bundling is correctly set up with proper path aliases.

Hard stop at avalon 1.4.x — the README opens with a warning that avalon 1.5+ breaks everything, which tells you this library was abandoned rather than finished. Last commit was 2016; avalon itself is dead, Vue won that market. No npm package, no module exports, no TypeScript types — RequireJS AMD modules only, which means you cannot use this in any modern toolchain without significant porting work. Several components listed in the README as planned (waterfall, imagecropper, rich text editor, tree) never shipped. The documentation is entirely in Chinese with no English translation, which limits its audience outside China.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →