Skip to content
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

TypeError: (this.$slots.default || []).filter is not a function #51

Open
cki5m3 opened this issue Dec 22, 2020 · 3 comments
Open

TypeError: (this.$slots.default || []).filter is not a function #51

cki5m3 opened this issue Dec 22, 2020 · 3 comments

Comments

@cki5m3
Copy link

cki5m3 commented Dec 22, 2020

Hi I'm using vueJs3 and I hit below error when I use the this lib. any idea?

Clamp.js?3f87:159
Uncaught (in promise) TypeError: (this.$slots.default || []).filter is not a function
at Proxy.getText (Clamp.js?3f87:159)
at Proxy.data (Clamp.js?3f87:25)
at resolveData (runtime-core.esm-bundler.js?5c40:5771)
at applyOptions (runtime-core.esm-bundler.js?5c40:5576)
at finishComponentSetup (runtime-core.esm-bundler.js?5c40:6339)
at setupStatefulComponent (runtime-core.esm-bundler.js?5c40:6273)
at setupComponent (runtime-core.esm-bundler.js?5c40:6213)
at mountComponent (runtime-core.esm-bundler.js?5c40:3969)
at processComponent (runtime-core.esm-bundler.js?5c40:3945)
at patch (runtime-core.esm-bundler.js?5c40:3556)

@Justineo
Copy link
Owner

This library isn’t Vue 3 compatible yet.

@cki5m3
Copy link
Author

cki5m3 commented Dec 22, 2020

Thanks, anyway the doc is misleading. I saw the section for Vue 3 setup, I though it is Vue 3 compatible.
Any plan for Vue 3 support?

@Justineo
Copy link
Owner

I saw the section for Vue 3 setup

It is Vue CLI 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants