vant components

This commit is contained in:
cookfront
2017-04-19 17:33:44 +08:00
commit 63c549d651
346 changed files with 25710 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
require('packages/vant-css/src/index.css');
// require all test files (files that ends with .spec.js)
const testsReq = require.context('./specs', true, /\.spec$/);
testsReq.keys().forEach(testsReq);
// require all src files except main.js for coverage.
// you can also change this to match only the subset of files that
// you want coverage for.
const srcReq = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/);
srcReq.keys().forEach(srcReq);