Skip to content

Yo Vapor

Yeoman is a popular scaffolding tool distributed through NPM. There is a beta Vapor 3 generator maintained in Vapor Community (vapor-community/yeoman) that you can use to create new projects.

screen shot 2018-10-30 at 2 19 59 pm

Installation

First, install Yeoman and generator-vapor using npm (we assume you have pre-installed node.js).

npm install -g yo generator-vapor

Create New Project

Once you have installed Yeoman and the Vapor Generator, you can create a new project.

First, create a new folder and cd into it:

mkdir my-project
cd my-project

Then, use the yo command to generate your new project:

yo vapor

Follow the instructions to choose which packages you would like to use.

Contributing

Help us improve this generator by contributing to vapor-community/yeoman.