Is it possible to incorporate Typescript into Vue instance methods? I found guidance on the blog page of nativescript-vue.org.
Whenever I initiate a new nativescript-vue project using
vue init nativescript-vue/vue-cli-template <project-name>
, some warnings pop up on the debug screen.
tns debug android
These are the error lines that always appear...
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(nativegridlayout))'
JS: '{NSVue (Vue: 2.6.10 | NSVue: 2.5.0)} -> AppendChild(ElementNode(nativeframe), ElementNode(nativepage))'
What do these boilerplate warnings prefixed with JS:... signify?
UPDATE
The JS error lines began appearing after I added
@vue/devtools nativescript-toasty nativescript-socketio nativescript-vue-devtools
.
Even after removing them, the console warnings persist.
I'm starting to question if the information on the quick start page is outdated? Especially since there have been no recent updates to the Vue-cli-template in the last 30 days.
NOTE: Projects created with tns create
do not encounter such errors. Only vue-cli-template projects seem to display warnings.