![]() |
преди 9 години | |
---|---|---|
.. | ||
scss | преди 9 години | |
src | преди 9 години | |
template | преди 9 години | |
tests | преди 9 години | |
.npmignore | преди 9 години | |
README.md | преди 9 години | |
package.json | преди 9 години |
This library aims to give developers the ability to subclass and configure Wagtail's UI components.
npm install wagtail
import { Explorer } from 'wagtail';
...
<Explorer onChoosePage={(page)=> { console.log(`You picked ${page}`); }} />
TODO
Run webpack
from the Wagtail project root.
webpack
The front-end is bundled at the same time as the Wagtail project, via setuptools
. You'll need to set the __semver__
property to a npm-compliant version number in wagtail.wagtailcore
.