wagtail/client
2017-05-13 23:53:10 +03:00
..
scss Tooling for modern front-end components: React JS, ES6, and BEM CSS 2016-02-25 13:32:48 +00:00
src Add support for i18n of the explorer 2017-05-13 23:53:10 +03:00
template First version of the explorer on top of admin API 2017-05-13 23:53:10 +03:00
tests First version of the explorer on top of admin API 2017-05-13 23:53:10 +03:00
webpack Move webpack configuration in subfolder of client/ 2017-01-26 01:16:04 +02:00
.npmignore Tooling for modern front-end components: React JS, ES6, and BEM CSS 2016-02-25 13:32:48 +00:00
package.json Tooling for modern front-end components: React JS, ES6, and BEM CSS 2016-02-25 13:32:48 +00:00
README.md Move version from wagtail.wagtailcore to wagtail 2016-08-18 12:05:33 +01:00

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.