aurelia-ui-toolkits / aurelia-materialize-bridge

Materialize CSS components for Aurelia
http://aurelia-ui-toolkits.github.io/demo-materialize/
MIT License
156 stars 53 forks source link

Installation for CLI - aurelia.json step is unclear #534

Closed Krossmaskinen closed 5 years ago

Krossmaskinen commented 5 years ago

Aurelia CLI installation step 4 is unclear on where the piece of JSON should be added.

  1. Update aurelia.json for the typed plugin
    {
    "name": "aurelia-typed-observable-plugin",
    "path": "../node_modules/aurelia-typed-observable-plugin/dist/amd",
    "main": "index"
    },

I can't add it directly under the main JSON object in aurelia.json file since it has no key, and not outside it since it can only hold one JSON object. What key should it be under? Do I have to add a new one?

It would be awesome if the instructions were clearer on this step.

MaximBalaganskiy commented 5 years ago

It should already be present in "dependencies" for the vendor-bundle, in bundles section, just needs a little tweak. If not there you can just add it.

Krossmaskinen commented 5 years ago

Is the vendor-bundle in aurelia.json? Anywho, I have neither in my aurelia.json by default. Your reply is precisely the info that should be in the docs.

MaximBalaganskiy commented 5 years ago

Docs are updated