Skip to content

A sample vue mobile project including karma test framework

Notifications You must be signed in to change notification settings

chenruchang/vuejs-karma

Repository files navigation

vue-mobile

Vue mobile project, including weixin js-sdk component, login modal for all pages which need authenticate, integrating karma and jasmine to the unit test, use flexible rem layout, use route lazy loading.

Build Setup

# install dependencies
npm install


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

# start test environment
npm run test

# start mirror environment
npm run mir

# start production environment
npm run pro


# build for dev with minification
npm run build-dev

# build for test with minification
npm run build-test

# build for mirror with minification
npm run build-mir

# build for production with minification
npm run build-pro


# run the unit test
npm run unit


# generate the allure report and open it in the browser
npm run report


For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

About

A sample vue mobile project including karma test framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages