Sorry, if I missed something crucial in the documentation on how to set up this lib. Unfortunately, I can't manage to provide you with a Stackblick link either. I hope you can still help me.
TL;DR
My ESLint and VS Code keep complaining about this.$cookies being non-existent. What am I missing in my set up?
I'm using Vue3, Typescript, VS Code.
Sorry, if I missed something crucial in the documentation on how to set up this lib. Unfortunately, I can't manage to provide you with a Stackblick link either. I hope you can still help me.
TL;DR
My ESLint and VS Code keep complaining about
this.$cookies
being non-existent. What am I missing in my set up? I'm using Vue3, Typescript, VS Code.This is the error I get:
The steps I've done
yarn add vue-cookies
Then I added this to my main.ts:
And finally I try to use
$cookies
in my component: