how to use composition api to create a new component in vue3?

前端 未结 0 1618
旧巷少年郎
旧巷少年郎 2021-02-14 19:46

When we use vue2 to create api,we just follow options api like below:

data are in data

methods are in methods



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题