だめな例
const ref = db.collection('query')
...
export const actions = {fetchQuery ({ commit }) {ref.get().then((res) => {...})}).catch((error) => {alert('error: ' + error)})}}
いい例
...
export const actions = {fetchQuery ({ commit }) {const ref = this.$fireStore.collection('user_config')ref.get().then((res) => {...})}).catch((error) => {alert('error: ' + error)})}}