nativescript-vue/nativescript-vue.org

Provide information about using .vue files

ikoevska opened this issue · 1 comments

From Vladimir Amiorkov via email:

There is not clear Guide to tell if using .vue files is supported and if it should be used under NativeScript-Vue. One of the templates allows it (nativescript-vue/vue-cli-template) other does not (nativescript-vue/nativescript-vue-template), why? This makes it very hard to rework your project which at the beginning you may be doing quite often.

Tasks:

  • Provide information about using .vue files

To use .vue files, we need vue-loader that parses the SFC syntax to SFC descriptor object, as you can see here

Just run tns upgrade in nativescript-vue-template and have fun 🚀