I am trying to connect ember with couch and i don't want to use pouchDB because it creates some time lag. I tried using nano package but it's giving the following error
./adapter/application.js
import DS from 'ember-data';
var nano = require('nano')('http://localhost:5984');
nano.db.create('alice');
var alice = nano.db.use('alice');
export default DS.JSONAPIAdapter.extend({
});
Aucun commentaire:
Enregistrer un commentaire