nativescript-vue / nativescript-vue.org

NativeScript-Vue website
https://nativescript-vue.org/
MIT License
115 stars 157 forks source link

Provide information about using .vue files #76

Open ikoevska opened 6 years ago

ikoevska commented 6 years ago

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:

guesant commented 5 years ago

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 :rocket: