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

Property 'ls' does not exist on type 'VueConstructor<Vue>'. #22

Open
ghost opened this issue Mar 13, 2018 · 4 comments
Open

Property 'ls' does not exist on type 'VueConstructor<Vue>'. #22

ghost opened this issue Mar 13, 2018 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 13, 2018

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 👍

@RobinCK
Copy link
Owner

RobinCK commented Mar 13, 2018

Hi @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

@ghost
Copy link
Author

ghost commented Mar 13, 2018 via email

@ghost
Copy link
Author

ghost commented Mar 14, 2018

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

@RobinCK
Copy link
Owner

RobinCK commented Mar 14, 2018

@kilroy05 thanks

@RobinCK RobinCK added the doc label Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant