No description, website, or topics provided.
Shell Batchfile HTML Ruby Puppet Makefile Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
+package.dottedname+
.editorconfig
.gitignore
.mrbob.ini
README.rst

README.rst

plonetheme.webpacktemplate

plonetheme.webpacktemplate provides a mr.bob template to generate a webpack thema package for Plone.

Generate a new theme

$ pip install mr.bob

Now you can use it like this:

$ git clone https://github.com/datakurre/plonetheme.webpacktemplate.git
$ mrbob plonetheme.webpacktemplate

See the documentation of mr.bob for further information.

Usage

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.

Usage with Vagrant

Start Plone and webpack-dev-server:

$ make -f Makefile.vagrant watch

Production theme is built with:

$ make -f Makefile.vagrant