Reputation: 337
I have installed in my project directory via
jspm install aurelia-dialog
successfully.
I have modified main.ts to the following:
aurelia.use
.standardConfiguration()
.developmentLogging()
.plugin('aurelia-dialog');
aurelia.start().then(a => a.setRoot());
I am attempting to import w/
import {DialogService} from 'aurelia-dialog';
import {DialogController} from 'aurelia-dialog';
and it results in "Cannot find module aurelia-dialog"
Note, it is showing in my dependencies.json and being pulled down to jspm_packages/npm/....
Upvotes: 1
Views: 680
Reputation: 337
I found the answer in this thread: How to use Aurelia third party plugin with without typescript definition file?
This package doesn't come with typescript definition files....thus, if you are using typescript, you will have to create them yourself.
Upvotes: 1