Giter Club home page Giter Club logo

generator-koa2-vue's Introduction

A Yeoman generator used to scaffolding vuejs projects

使用本generator前,需先安装全局 yeoman

安装

npm install generator-koa2-vue -g

使用

新建一个工程目录并进入,然后:

yo koa2-vue

启动

npm start

构建

npm run build

说明

本工具生成的vue工程,除了vue本身外,还附带了vue-resource,vue-router, vuex.
webpack配置基于 vue-cli的官网模板改造.
整体上的配置可用于开发大型单页应用.

TODOs

增加以下子命令:

  • 创建组件
  • 创建视图
  • 创建路由(包含创建路由配置,视图)
  • 创建flux(包含创建mutation,action,mutation-type)

generator-koa2-vue's People

Contributors

stonechen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.