New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nativescript-vue v-template support #2390
Comments
Vetur support custom component data for custom framework or libs. You need to add this:
Doc: https://vuejs.github.io/vetur/component-data.html#other-frameworks |
The tricky thing here is the |
@yoyo930021 thanks ! tried that and got |
This question is the same as Why isn’t this API designed as a scoped slot? |
@rigor789 do you a reason not to use slots as @yoyo930021 suggests? |
PS. scoped slot type check is not support now. |
When using Vue in Nativescript we have a custom v component called
v-template
https://nativescript-vue.org/en/docs/utilities/v-template/It kind of work like v-for. Kind of! the parent of the template defines a
:items
or afor
property which is an array like object.Then inside the template you can use
item
which is an object ofitems
Do you think you could add support for it so that we get completion on template?
Here is an example https://github.com/nativescript-vue/nativescript-vue/blob/5b6a382c39a8ce3d1782926c635abf49ebe700eb/samples/app/components/ListViewTest.vue#L8
Thanks
The text was updated successfully, but these errors were encountered: