Skip to content

hchiam/tape-vue-example

 
 

Repository files navigation

tape-vue-example

Example project with .vue files, using vue-test-utils and Tape to run unit tests.

Just Want to Get Started?

git clone https://github.com/hchiam/tape-vue-example.git
cd tape-vue-example
npm install
npm t

(Note: use npm t, not the usual node test.js used for basic Tape.)

Commands for Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

Vue TDD: vue-test-utils + Tape: test .vue files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.9%
  • Vue 7.0%
  • HTML 1.1%