use vue cdn with firestore

JavaScript
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)
  }
});

Source

Also in JavaScript: