Dolittle Documentation

Get started

When using Aurelia as your frontend framework and want to have the building blocks from Dolittle more accessible. This project gives you that.

The source code for this can be found here.

Installing

The bridge is installed as an Aurelia plugin using NPM package:

$ npm i @dolittle/aurelia

or

$ yarn add @dolittle/aurelia

Using

Once you’ve installed it, you can simply use the plugin by configuring it during your setup of Aurelia, typically found in your main.js file.

import { PLATFORM } from 'aurelia-pal';

export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .plugin(PLATFORM.moduleName('@dolittle/aurelia')); // Add Dolittle plugin

  aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));
}