Example package to show how to customize staticresources (aka mockup patterns).
It provides a basic webpack configuration and includes @plone/mockup.
The bundle is build the same as in [plone/mockup](https://github.com/plone/mockup).
The Makefile is a copy of https://github.com/plone/plone.staticresources/blob/master/Makefile but without the icon generation.
If you want to use your custom icon-set please have a look there how to implement it.
As an example we customize the pat-tinymce pattern here:
- Copy the original pattern code into
resources/js/pat/<customized pattern>directory and customize the code. - Change the import in
resources/patterns.jsto the new local path. - Compile the bundle with
make build. - (re)install this package in the addons controlpanel.
A second example shows how to customize the SelectedItem.svelte component.
See resources/js/pat/contentbrowser/components.
Install collective.customizedstaticresources by adding it to your buildout:
[buildout]
...
eggs =
collective.customizedstaticresources
and then running bin/buildout
Peter Mathis @petschki
The project is licensed under the GPLv2.