blog
blog copied to clipboard
learing summary
http://www.ruanyifeng.com/blog/2017/12/travis_ci_tutorial.html http://efe.baidu.com/blog/front-end-continuous-integration-tools/ https://www.travis-ci.org/
## 1. 用Karma搭建测试运行框架
npm 包shelljs 赋予node使用shell命令的能力。。
The UNIX command rm -rf for node. ### api rimraf(f, [opts], callback)
### 1.样式可以通过外部导入 ``` ``` ### 2.可以在一个组件中同时使用有作用域和无作用域的样式: ``` /* 全局样式 */ /* 本地样式 */ ``` ### 3.可以自定义块,比如docs ### 4.通过配置transformToRequire 再也不用把图片、视频、音频资源写成变量了 ``` { test: /\.vue$/, loader: 'vue-loader', options:{ transformToRequire: { video: 'src',...