A collection of client side patterns for faster and easier web development
http://plone.github.io/mockup/ ↗// readme
Plone Mockup
Mockup is the JavaScript stack of the Plone Classic UI.
Usage
There are several options to integrate Mockup.
-
It comes pre-installed with Plone 6 Classic UI.
-
You can install and compile a bundle. See Development Section below.
-
You can download a
.zipfrom Mockup’s releases page on GitHub. -
You can use a precompiled bundle from a CDN, like:
<script src="https://unpkg.com/@plone/mockup@latest/dist/bundle.min.js"></script>or:
<script src="https://cdn.jsdelivr.net/npm/@plone/mockup@latest/dist/bundle.min.js"></script>
Install
-
Have a current version of Node.js installed.
-
To install, run:
make install. -
To run the demo server, do:
make serve.This starts up the webpack build process in watch mode. Any JavaScript changes are immediately compiled. For some changes - like for adding new packages via
pnpm addand then using it you might need to restart. The command also spins up a development server for our11tybased documentation and demo pages. If you don’t need the docs running, you can run…