kopia lustrzana https://github.com/wagtail/wagtail
88fad9a071
In the new designs, listings other than the page listings should show the complete label for the main header button. The page listing only shows the icon because much of the space is taken by the side panel toggles. The page listing's header button hasn't been refactored to use the HeaderButton class, hence there is no changes to the page listings code in this commit. |
||
---|---|---|
.. | ||
scss | ||
src | ||
storybook | ||
tests | ||
README.md | ||
extract-translatable-strings.js | ||
package-lock.json | ||
tailwind.config.js | ||
webpack.config.js |
README.md
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
.