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

Typescript : Uncaught TypeError: Cannot read property '$isServer' of undefined #13

Open
younixue3 opened this issue Jun 11, 2021 · 3 comments

Comments

@younixue3
Copy link

I success declare the js plugin with *.d.ts, but after I do .use(checkView), my view is blank, did this library support on Typescript?

main.ts file

import checkView from 'vue-check-view'
....
createApp(App).use(store).use(router).use(checkView).component('font-awesome-icon', FontAwesomeIcon).mount('#app')

*.d.ts file

declare module "vue-check-view"; any;

@t0mm4rx
Copy link

t0mm4rx commented Aug 2, 2021

Same error here, without typescript.

@adilabdu
Copy link

Any solution for this?

@gonzalosalmeron
Copy link

Same error

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

4 participants