Accessing KV bind on Vue Script from import.meta

Hi all, been digging a while and haven't found something close. I've bounded the KV with namespace kv and tried to make use of it between Vue components script part like: await import.meta.kv.get('key') both preview and production say can not read get of undefined. Wouldn't this be the way to interact with kv ?
1 Reply
simultsop
simultsop4mo ago
So it is possible within same project to create /functions dir and perform certain stuff. Though having import.meta.kv bind would be much smooth than fetching functions.