项目作者: Cherish-xzw

项目描述 :
A koa2 boilerplate generator based on yeoman.
高级语言: JavaScript
项目地址: git://github.com/Cherish-xzw/generator-koa2.git
创建时间: 2017-07-11T09:58:16Z
项目社区:https://github.com/Cherish-xzw/generator-koa2

开源协议:

下载


Koa2 and Vue Generator

Build Status
Coverage Status
npm
npm

Yeoman generator for Koa2 and Vue.js - lets you quickly set up a project with sensible defaults and best practices.

Usage

Step 1. Make sure that you have Node.js v6 or newer and
npm installed on your development machine.

  • node ^6.0.0
  • npm ^5.0.0

Step 2. Generate this template:

Install yo and generator-upoem-koa2 :

  1. $ npm install -g yo generator-upoem-koa2

Make a new directory and cd into it :

  1. $ mkdir myApp && cd myApp

Run yo upoem-koa2 to generate this template :

  1. $ yo upoem-koa2

Options

Vue.js

If you want to set up a project with Vue.js support, you should run

  1. $ yo upoem-koa2 --vue

Learn More

Learn more about Koa2 template and Koa2-Vue template