Tim Heap 75e58efab8 Move version from wagtail.wagtailcore to wagtail 8 年之前
..
scss 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前
src 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前
template 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前
tests 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前
.npmignore 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前
README.md 75e58efab8 Move version from wagtail.wagtailcore to wagtail 8 年之前
package.json 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS 9 年之前

README.md

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';

...

<Explorer onChoosePage={(page)=> { console.log(`You picked ${page}`); }} />

Available components

TODO

  • Explorer
  • Modal
  • DatePicker
  • LinkChooser
  • DropDown

Building in development

Run webpack from the Wagtail project root.

webpack

How to release

The front-end is bundled at the same time as the Wagtail project, via setuptools.