[TOC]
- 开始时间: 2020-10-28
- 主要版本: 3.x
- 参考 Issues: https://github.com/vuejs/rfcs/pull/182
- 实现 PR: https://github.com/vuejs/vue-next/pull/2532
Summary(概要)
Introduce a new script type in Single File Components: <script setup>
, which exposes all its top level bindings to the template.
在单个文件组件中引入新的脚本类型: