https://github.com/varvet/generator-middleman-dato
A Yeoman generator for Middleman and DatoCMS projects
https://github.com/varvet/generator-middleman-dato
Last synced: about 2 months ago
JSON representation
A Yeoman generator for Middleman and DatoCMS projects
- Host: GitHub
- URL: https://github.com/varvet/generator-middleman-dato
- Owner: varvet
- Created: 2019-10-25T08:20:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T21:35:47.000Z (over 2 years ago)
- Last Synced: 2024-04-14T05:18:01.185Z (over 1 year ago)
- Language: SCSS
- Size: 1 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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'`