mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 05:02:57 +01:00
81ea6d6266
The added CSS handles the case when nice padding is removed (to make the listing go full-width) and no bulk actions are available (e.g. a ModelViewSet index view or some other view that extends generic listing view). This allows us to not rely on the full-width class (which should eventually be removed) while correctly apply the spacing regardless whether nice-padding is used or not, and whether bulk actions are available or not. If nice-padding is used, then the listing view will look as they previously do. |
||
---|---|---|
.. | ||
scss | ||
src | ||
storybook | ||
tests | ||
extract-translatable-strings.js | ||
package-lock.json | ||
README.md | ||
tailwind.config.js | ||
webpack.config.js |
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:
- React DevTools – React developer tools integrated into Chrome.
- Redux DevTools – Redux developer tools integrated into Chrome.
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
.