PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Cannot get it to work in nativescript-vue.. #184

Closed Peraluna closed 5 years ago

Peraluna commented 5 years ago

Is it possible to use this DropDown element in nativescript-vue ? If so, could you please show how to use it ? I've tried to register it using : Vue.registerElement("DropDown", () => require("nativescript-drop-down").DropDown) in main.js

But when I use it in my vue component file using tag, I got error :
JS: [Vue warn]: Error in nextTick: "TypeError: Could not load view for: dropdown. TypeError: view_1.CSSType is not a function"

PeterStaev commented 5 years ago

The search is your friend: https://github.com/PeterStaev/NativeScript-Drop-Down/issues/180