Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

vue3.0 typescript

之前的项目是vue2.x版本开发的,使用的是vue-property-decorator来支持typescript。现在vue3.0出来后,如果在项目中使用typescript是直接使用就可以么 还是继续引入vue-property-decorator来支持typescript?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

但凡照着模板项目做一遍 HelloWorld 就不会问这个问题了。

不需要

https://vue3js.cn/docs/zh/gui...

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...