摘要:
Reactive 函数 Reactive 函数 import { ref, computed, reactive, toRefs } from 'vue' interface DataProps { count: number; double: number; increase: () => voi 阅读全文
posted @ 2021-02-25 20:49
`Duet`
阅读(636)
评论(0)
推荐(0)
摘要:
Ref 语法 setup 方法 ref 函数 <template> <h1>{{count}}</h1> <h1>{{double}}</h1> <button @click="increase">+1</button> </template> import { ref } from "vue" s 阅读全文
posted @ 2021-02-25 20:26
`Duet`
阅读(1684)
评论(0)
推荐(0)
摘要:
项目结构和插件 Eslint 插件 如果 eslint 不生效,可以在根目录创建 .vscode 文件夹,然后在文件夹中创建 settings.json 然后输入 { "eslint.validate": [ "typescript" ] } Vetur 插件 阅读全文
posted @ 2021-02-25 14:31
`Duet`
阅读(188)
评论(0)
推荐(0)
浙公网安备 33010602011771号