use vue cdn with firestore code example
Example: use vue cdn with firestore
var itemsRef = firebase.firestore().collection('items')
var vm = new Vue({
el: "#app",
firebase: {
// can bind to either a direct Firebase reference or a query
items: itemsRef.limitToLast(25)
}
});