June 2018
Intermediate to advanced
348 pages
8h 19m
English
If you are using JSPM manager, type the following command:
jspm install aurelia-dialog
Else, for Webpack / Aurelia CLI users, use the known npm install command:
npm install aurelia-dialog --save
Remember to save this dependency into your project dependencies section. It's very important, because it will be used in the final application build.
Now, let's tell our application that we have a new plugin. Like other plugins seen earlier, open your Aurelia configuration file (aurelia.json) and add a new plugin section:
{ dependencies: [ // Some content here { "name": "aurelia-dialog", "path": "../node_modules/aurelia-dialog/dist/amd", "main": "aurelia-dialog" } // Some content here too ] }
We have already configured ...
Read now
Unlock full access