We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问目前支持Vue3.2版本的setup语法糖吗?我看项目中Vue的版本已经是3.2.21了
The text was updated successfully, but these errors were encountered:
vue面板是用parcel进行构建的,目前 parcel 2.5.0 还不支持<script setup>,但是PR已经合进去了parcel-bundler/parcel#8045 ,可以期待下,目前可以用的是下面的方式:
<script setup>
import { reactive, computed } from "vue"; export default { setup() { const state = reactive({ count: 0, double: computed(() => state.count * 2), }); function increment() { state.count++; } return { state, increment, }; }, };
Sorry, something went wrong.
谢谢😉
6535f73
Merge pull request #9 from tencentyun/feat/hooks
5696eef
feat: 支持 script setup 语法,close #7
No branches or pull requests
请问目前支持Vue3.2版本的setup语法糖吗?我看项目中Vue的版本已经是3.2.21了
The text was updated successfully, but these errors were encountered: