Giter Site home page Giter Site logo

sportsbitenews / generator-fullstack-vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lix059/generator-fullstack-vue

0.0 0.0 0.0 43 KB

a fullstack web project generator, use vue2.0 + vue-router + vuex + vue-router + express

License: MIT License

JavaScript 76.99% HTML 6.90% Vue 16.11%

generator-fullstack-vue's Introduction

generator-fullstack-vue NPM version Build Status Dependency Status Coverage percentage

Scaffold out a Fullstack Vuejs project:vue2;vuex;vue-router;vue-resource;express;mongo

Installation

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

npm install -g yo
npm install -g generator-fullstack-vue

Then generate your new project:

yo fullstack-vue

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

About this web project

https://github.com/lix059/generator-fullstack-vue

a fullstack web project, use vue2.0 + vue-router + vuex + vue-router + express

A fullstack Vue.js project use mockjs to split FE develop & BE develop unit test

Build Setup

# install dependencies
npm install

FE: 
    # serve with hot reload at localhost:8080
    npm run dev

    # build for production with minification
    npm run build

    # run unit tests
    npm run unit

    # run e2e tests
    npm run e2e

BE: 
    # serve with hot reload at localhost:9000
    grunt server

    # build for production, when package project must be run after FE build
    grunt build

    #run unit tests
    grunt test

    #if you have a cms to publish a zip package, you can use grunt upload here


FE & BE
    
    when you are developing both side, you can anntate mockjs in src/main.js, and
    config the request url in  config/index.js  proxyTable 

License

MIT © lixiong

generator-fullstack-vue's People

Contributors

lix059 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.