Apollo is not assignable to parameter of type 'VueClass<Vue> Apollo is not assignable to parameter of type 'VueClass<Vue> vue.js vue.js

Apollo is not assignable to parameter of type 'VueClass<Vue>


@Component accept a parameter of the VueClass Type, the items need to be props, components, methods.etc. For example:

@Component({  components: {    HelloWorld}})


The syntax for the "apollo" options you listed do indeed look correct- assuming you're intending to use the package "vue-apollo" to work with Apollo.

If you're getting this error it may mean that "vue-apollo" hasn't been installed, or there's some problem with the installation.

If you look in the Vue Chrome debugger tool on one of your pages, is the "$apollo" property present in all your components? If not, the issue is that the "vue-apollo" plugin hasn't been properly installed.


update your tsconfig.json with:

"strictFunctionTypes": false