-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Property 'ls' does not exist on type 'VueConstructor<Vue>'. #22
Comments
Hi @kilroy05 Do you use typescript? I checked on my production project, everything works. But I do not use typescript |
Hi.
Yes. The issue seems to be typescript.
I think I need to read the Vue manual at the typescript section into more
detail.
On the train now. Thanks for the quick reply.
I'll update my report in the coming days.
Cheers
…On Tue, 13 Mar 2018, 18:09 Igor Ognichenko, ***@***.***> wrote:
Hi @kilroy05 <https://github.com/kilroy05>
Thanks for your report.
Do you use typescript?
Tell us in detail how your project was created and how it is configured.
I checked on my production project, everything works. But I do not use
typescript
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEyomemE8M3wjDyZSC12-r5NeCRdYUVNks5teAtTgaJpZM4SpJXZ>
.
|
Hi, Indeed it was my usage. Since there is no type for your plugin, it needs to be created as specified in the Vue documentation page, which can be found here, in case others come across this : https://vuejs.org/v2/guide/typescript.html Again, thanks for making this plugin freely available 👍 Cheers |
@kilroy05 thanks |
Hi,
Thanks for making this component.
I am trying to use it with vue-cli but am getting this message
Property 'ls' does not exist on type 'VueConstructor'.
It does work, data is saved and read correctly but this error prevents me from compiling to prod.
I followed the instructions you posted.
Am I doing something wrong or missing something?
Perhaps not a good idea to start with the cli while it's not in final and typescript as well...
Thanks 👍
The text was updated successfully, but these errors were encountered: