0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
wagtail/client
Matt Westcott 90e91e0e4a Consistently use edit_url in the state representation of choosers
Previously we were using edit_link in dicts handled by JS, and edit_url in dicts handled by Python, meaning that ChooserBlock.get_form_state had to rewrite it
2022-08-10 14:53:41 +10:00
..
scss Improve Snippets listing styles 2022-08-09 13:01:50 +01:00
src Consistently use edit_url in the state representation of choosers 2022-08-10 14:53:41 +10:00
storybook Disable Webpack css-loader URL handling in Storybook. Fix #8646 2022-06-09 17:12:52 +10:00
tests Finish re-implementing form styles based on design feedback & code review 2022-08-05 10:36:52 +02:00
extract-translatable-strings.js
package-lock.json
README.md auto-format core markdown files (#8603) 2022-06-01 23:08:56 +10:00
tailwind.config.js Implement collapsible and linkable panels 2022-08-05 10:36:52 +02:00
webpack.config.js Add a base class for Telepath adapters for chooser widgets 2022-08-10 14:53:41 +10: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 />;

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

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.