Question: How to get it to work in a Nuxt 3 app?
chanon opened this issue · 3 comments
chanon commented
Sorry for asking, but I've tried everything I can think of, and I can't get it to work in my Nuxt 3 app.
I added the plugin to the nuxt.config.ts
and the path to tsconfig.json
The Playground is working correctly in my VS Code with Volar, but in my Nuxt 3 project it says "This expression is not callable"
whenever I try to call a ref to get its value.
sxzz commented
Demo: https://github.com/sxzz/nuxt-functional-ref
It doesn't support SSR/SSG at the moment.
chanon commented
Thank you!!
sxzz commented
If you're using pnpm, try pnpm.overrides
. It works perfectly!
sxzz/nuxt-functional-ref@01cd6d8