It’s a new year, and with that comes a new release of Mulberry! As with the previous release, our goal is to make it easier to get started with Mulberry, and once you’re up and running, we want to make it easier to customize your app. Some of the highlights:
Installer scripts for OSX and Windows (Ubuntu is on the way): Getting started with Mulberry used to require downloading and installing a lot of other dependencies. While we haven’t been able to completely automate this, we have made it a whole lot easier. Find the script for your OS in
/install/<os>/, follow the instructions in the README, then run the installer script, and you’ll be up and running.
Customizable default theme: The “default” theme used to be difficult to customize. If you decided to use it you were basically stuck with a lot of gray. Now all the colors and fonts can now be changed from the
themes/default/_settings.scssfile, so you don’t have to dig through alot of code or create a completely new theme just to change some colors. The icons are now customizable as well. Simply replace any of the images in
themes/default/iconswith whatever you want.
Templates are now “page_defs”: In 0.2, we had “templates” which were yaml files where you’d define the layout for a page in columns and rows. But these templates also had a lot of non-presentational information, which tended to be confusing. So we changed things so that page layout is handled in CSS (as it should be), and page_defs got a little simpler. We added a few Sass mixins to help with page layout. Read more about page_defs.
New and Improved Code Generators: It was already possible to create new routes, but now you can run
mulberry create route '/foo/:bar'and it will generate the necessary code and add it to
routes.js, which you can then customize. Running
mulberry create page_defwill now generate a boilerplate scss file and add
In addition to all the new stuff, we’ve got a bug of bugfixes, improved development server stability, and more complete test coverage. For the full story, read the full release notes.