O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting the Aurelia-dialog plugin

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required