Ground:db to make collection offline accessible

How do I ground (using ground:db) a collection to get offline access?

I’m trying this, but it doesn’t work at all… I think there is a problem with export, as it doesn’t seems to be correct?!


export default Cars = new Mongo.Collection('cars');

if (Meteor.isCordova)

	insert() { return true; },
	update() { return true; },
	remove() { return true; }


import Cars from '/imports/api/cars/collection.js';


	list() {
		return Cars.find({});