Plone theme example re-using webpack configuration from plonetheme.webpack
JavaScript HTML Makefile Nix CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
.editorconfig
.gitignore
Makefile
README.rst
buildout.cfg
default.nix

README.rst

plonetheme.webpackexample

This is an example project about the usage of plonetheme-webpack-plugin in building Plone themes with Webpack.

Clone the project:

$ git clone https://github.com/datakurre/plonetheme.webpackexample
$ cd plonetheme.webpackexample

Start Plone and webpack-dev-server:

$ make watch

An example Plone site with hot-reloaded theme should be now available at http://localhost:8080/Plone/ (at first, the theme must be manually enabled from the configuration panel).

Production theme is built with:

$ make

Please, note that Plone must be running while running the build, because webpack fetches all the default resources directly from a Plone site.