Skip to content
Wolfr edited this page Aug 30, 2017 · 10 revisions

Jade to Pug syntax migration examples

Add a classname when a condition is met (e.g. variableExample is true)

  • Old: .c-story(class= #{ variableExample ? '' : 'classname')
  • New: .c-story(class=variableExample?'':'classname')

Setting up a new bedrock project

  1. Download https://github.com/mono-company/bedrock/archive/master.zip
  2. Rename the folder to your-project-name.
  3. Optionally set up a git repository for your project

Upgrading a bedrock project

The best way to upgrade a bedrock project is to install the bedrock-cli tool. See https://github.com/mono-company/bedrock-cli . Then, you can run bedrock upgrade to upgrade your install to the latest version.

Clone this wiki locally