1 页面级开发 直接引入script标签
2 工程性的开发
webpack+loader vue-cli 用了webpack 就可以不用gulp了
打包出来的build.js 会很大
webpack 分开打包 代码拆分
1)code-spliting
2)提取公共 common.js
3) 预渲染:prerender-spa-plugin
4)后台开启压缩 gz/gzip
5)异步加载组件
require.ensure
dispatch====action===type(中间纽带)====mutations(改变state)
angular5在今年9月份出来 angular2 已经换库了 而且重度依赖typescript
this.$el
交互时注意get 或者post的路径