vite-ssr icon indicating copy to clipboard operation
vite-ssr copied to clipboard

[Vue warn]: inject() can only be used inside setup() or functional components.

Open gitsheny opened this issue 2 years ago • 0 comments

when i call my API directly from Vue components in client. i use useContext() and vue warn 'inject() can only be used inside setup() or functional components.'

gitsheny avatar Jan 16 '23 03:01 gitsheny