使用Typescript支持启动新的nativescript vue项目的正确方法是什么?

使用Typescript支持启动新的nativescript vue项目的正确方法是什么?,typescript,nativescript,vue-cli,nativescript-vue,vue-devtools,Typescript,Nativescript,Vue Cli,Nativescript Vue,Vue Devtools,我希望能够在Vue实例方法中使用Typescript,如nativescript-Vue.org的中所述 使用vue init nativescript vue/vue cli模板创建新的nativescript vue项目时,调试屏幕中会出现以下警告 tns调试android 始终给出以下错误行 JS:'{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->CreateElement(NativePage)' JS:“{NSVue(Vue:2.6.10 | NSVue:2.5

我希望能够在Vue实例方法中使用Typescript,如nativescript-Vue.org的中所述

使用
vue init nativescript vue/vue cli模板创建新的nativescript vue项目时,调试屏幕中会出现以下警告

tns调试android
始终给出以下错误行

JS:'{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->CreateElement(NativePage)'
JS:“{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->CreateElement(NativeActionBar)”
JS:“{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->AppendChild(ElementNode(nativepage),ElementNode(nativeactionbar))”
JS:{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->CreateElement(nativegridlayout)'
JS:{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->CreateElement(nativelabel)'
JS:“{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->AppendChild(ElementNode(nativegridlayout),ElementNode(nativelabel))”
JS:“{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->AppendChild(ElementNode(nativepage),ElementNode(nativeridlayout))”
JS:{NSVue(Vue:2.6.10 | NSVue:2.5.0)}->AppendChild(ElementNode(nativeframe),ElementNode(nativepage))'
这些以JS开头的样板警告是什么:。。。行?


更新 在我添加
@vue/devtools nativescript toasty nativescript socketio nativescript vue devtools

即使我把它们移除,控制台警告仍然存在


我在想,网页是否过时了? 因为在过去30天内没有得到任何更新


注意:使用
tns create
创建的项目不会出现此类错误。只有vue cli模板具有警告。

日志中提到的行既不是错误也不是警告-它们是渲染器日志

这些可以通过以下方式关闭:

Vue.config.silent=true
//自NativeScript Vue 2.5.0-alpha.3以来,渲染器将记录
//可以通过以下方式禁用,以保持其他有用日志的完整性:
Vue.config.suppressRenderLogs=false

app.js
main.js
中(取决于使用的模板)。

这些不是警告-这些是渲染器日志。您可以在main/app.js中使用
Vue.config.silent=true将其关闭。请将您的答案写在答案表中好吗?