Josh Barr d675807cf8 First version of the explorer on top of admin API před 9 roky
..
scss 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS před 9 roky
src d675807cf8 First version of the explorer on top of admin API před 7 roky
template d675807cf8 First version of the explorer on top of admin API před 7 roky
tests d675807cf8 First version of the explorer on top of admin API před 7 roky
webpack 64bb8b2989 Move webpack configuration in subfolder of client/ před 8 roky
.npmignore 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS před 9 roky
README.md 75e58efab8 Move version from wagtail.wagtailcore to wagtail před 8 roky
package.json 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS před 9 roky

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.