diff --git a/demo/src/app/pages/getting-started/getting-started.page.html b/demo/src/app/pages/getting-started/getting-started.page.html index b4fee3e92..959c331be 100644 --- a/demo/src/app/pages/getting-started/getting-started.page.html +++ b/demo/src/app/pages/getting-started/getting-started.page.html @@ -27,6 +27,10 @@

Installation

Now you're good to go!

+

Note if you're using SystemJS, add the following to your systemjs.config.js file:

+
+ +

Dependencies

Angular 2 (^4.0.0)
diff --git a/demo/src/app/pages/getting-started/getting-started.page.ts b/demo/src/app/pages/getting-started/getting-started.page.ts index 1ba58ca47..3b4b55345 100644 --- a/demo/src/app/pages/getting-started/getting-started.page.ts +++ b/demo/src/app/pages/getting-started/getting-started.page.ts @@ -12,7 +12,7 @@ import { Component } from '@angular/core'; }) export class GettingStartedPage { public installCode:string = `$ npm install ng2-semantic-ui --save`; - public includeCssCode:string = ``; + public includeCssCode:string = ``; public importCode:string = `import {SuiModule} from 'ng2-semantic-ui';`; public moduleImportCode:string = ` import {SuiModule} from 'ng2-semantic-ui'; @@ -23,6 +23,15 @@ import {SuiModule} from 'ng2-semantic-ui'; bootstrap: [AppComponent] }) export class AppModule {} +`; + public systemJSCode:string = ` +var config = { + ... + map: { + ... + 'ng2-semantic-ui': 'npm:ng2-semantic-ui/bundles/ng2-semantic-ui.umd.min.js' + } +} `; public individualImportCode:string = `import {SuiCheckboxModule, SuiRatingModule} from 'ng2-semantic-ui';`; }