vue-dashing-js
Version:
A fork of nuvo-dashing-js that replaces Batman.js with Vue.js
17 lines (13 loc) • 405 B
JavaScript
var dashing = require('vue-dashing-js').Dashing();
// Set your auth token here
//dashing.auth_token = 'YOUR_AUTH_TOKEN';
/*
dashing.protected = function(req, res, next) {
// Put any authentication code you want in here.
// This method is run before accessing any resource.
// if (true) next();
}
*/
// Set your default dashboard here
//dashing.default_dashboard = 'mydashboard';
dashing.start();