WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

VueFire exposes composables so they must be used at top level:

defineStore('...', () => {
  useDocument(...)
})

Then you use Firebase JS SDK to write to the database. I think this should help too:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mrleblanc101
Comment options

@posva
Comment options

posva Dec 1, 2023
Maintainer

@mrleblanc101
Comment options

Answer selected by mrleblanc101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants