Getting an error trying to load aurelia-dragula (and other plugins) from aurelia-cli.
cli
au-install aurelia-dragula
aurelia.json
{
"name": "aurelia-dragula",
"path": "../node_modules/aurelia-dragula/dist/amd",
"main": "index"
},
...
.js
import { Dragula } from 'aurelia-dragula';
Error :
vendor-bundle.js:23616 ERROR [app-router] Error: Unexpected token <
Evaluating http://localhost:9000/aurelia-dragula
(it's grabbing the index.html in wwwroot folder and failing on parsing the "DocType" tag)
au -v- Ashley Grant