nuxt-community / axios-module

Secure and easy axios integration for Nuxt 2
https://axios.nuxtjs.org
MIT License
1.2k stars 245 forks source link

Property '$axios' does not exist on type #564

Open dgrinbergs opened 2 years ago

dgrinbergs commented 2 years ago

My project is using Nuxt 2.15.8 and I've followed the instructions here. Is this a lost cause at this point?

Left: /store/products.ts Right: /tsconfig.json

image

Olivia-SY129 commented 2 years ago

Do you have an error message of 'Cannot read properties of undefined (reading '$get')' as well? I followed the same instruction and the '$axios' context is undefined. But data fetching is still working. That's weird.

debonx commented 1 year ago

Same here, any news?