0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client
Matt Westcott ac2e07e8c4 Move cleanForSlug into its own utils module
This allows us to test it without having to jump through hoops to make the rest of page-editor.js module-friendly, and moving the test module out of client/src/entrypoints means we don't duplicate it into wagtail/admin/static (where the test runner tries to run it again with broken imports)
2021-06-21 14:34:40 +01:00
..
.storybook Use stubs in storybook 2021-05-03 17:05:56 +01:00
scss sidebar: use darker background color 2021-06-21 14:29:34 +01:00
src Move cleanForSlug into its own utils module 2021-06-21 14:34:40 +01:00
tests Use stubs in storybook 2021-05-03 17:05:56 +01:00
package-lock.json Feature/field comment frontend (#6530) 2021-04-20 18:25:30 +01:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
webpack.config.js Add JS and CSS entrypoints for new sidebar 2021-05-17 11:48:29 +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 />

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.