[TOC]
  1. 使用setup函数和更好的管理我们的代码
  2. vue2.x的data、methods、computed、watch通通写进了setup函数里面
  3. 一个简单例子 ```javascript

```