2016-02-24 10:44:14 +00:00
# Wagtail client-side components
2016-06-17 13:48:33 +00:00
> This library aims to give developers the ability to subclass and configure Wagtail's UI components.
2016-02-24 10:44:14 +00:00
## Usage
2016-06-17 13:48:33 +00:00
```sh
2016-02-24 10:44:14 +00:00
npm install wagtail
```
```javascript
import { Explorer } from 'wagtail';
2016-06-17 13:48:33 +00:00
// [...]
< Explorer / >
2016-02-24 10:44:14 +00:00
```
2016-06-17 13:48:33 +00:00
## Development
2016-02-24 10:44:14 +00:00
2016-06-17 13:48:33 +00:00
```sh
# From the project root, start the webpack + styles compilation.
npm run start
2016-02-24 10:44:14 +00:00
```
2016-06-17 13:48:33 +00:00
You will also need:
2016-02-24 10:44:14 +00:00
2016-06-17 13:48:33 +00:00
- [React DevTools ](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en ) – React developer tools integrated into Chrome.
- [Redux DevTools ](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd ) – Redux developer tools integrated into Chrome.
2016-02-24 10:44:14 +00:00
2016-06-17 13:48:33 +00:00
## Releases
2016-02-24 10:44:14 +00:00
2016-06-17 13:48:33 +00:00
The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as [`wagtail` ](https://www.npmjs.com/package/wagtail ).