Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 763 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 763 Bytes

Generator Middleman Dato

This is a Yeoman generator for starting up a Middleman and Dato project.

Installation

1 - Install Yeoman npm install -g yo
2 - Clone this repo
3 - Run cd generator-middleman-dato
4 - Run npm install
5 - Run npm link

Now the middleman-dato generator is installed globally on your machine. You can use it anywhere you would like.

How to use it

1 - Create a new folder for you project like mkdir project
2 - Run cd project
3 - Run yo middleman-dato
4 - Follow the instructions
5 - Run project by middleman serve

Create a new module

This script will create a .html.erb file and a .css.scss file for your new module.
middleman-dato g m 'module-name'