2016-02-24 11:44:14 +01:00
# Wagtail client-side components
2016-06-17 15:48:33 +02:00
> This library aims to give developers the ability to subclass and configure Wagtail's UI components.
2016-02-24 11:44:14 +01:00
## Usage
2016-06-17 15:48:33 +02:00
```sh
2016-02-24 11:44:14 +01:00
npm install wagtail
```
```javascript
import { Explorer } from 'wagtail';
2016-06-17 15:48:33 +02:00
// [...]
< Explorer / >
2016-02-24 11:44:14 +01:00
```
2016-06-17 15:48:33 +02:00
## Development
2016-02-24 11:44:14 +01:00
2016-06-17 15:48:33 +02:00
```sh
# From the project root, start the webpack + styles compilation.
npm run start
2016-02-24 11:44:14 +01:00
```
2016-06-17 15:48:33 +02:00
You will also need:
2016-02-24 11:44:14 +01:00
2016-06-17 15:48:33 +02: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 11:44:14 +01:00
2016-06-17 15:48:33 +02:00
## Releases
2016-02-24 11:44:14 +01:00
2016-06-17 15:48:33 +02: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 ).