Skip to content

Commit f0b03ed

Browse files
committed
Fixed import bug
1 parent f2842a8 commit f0b03ed

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Next include the Semantic UI CSS file in your `index.html` (you can include a ma
2020

2121
Once installed you need to import the main module:
2222
```ts
23-
import {SuiModule} from 'ng2-semantic-ui';
23+
import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';
2424
```
2525

2626
Finally import the main module into your application module:
2727
```ts
28-
import {SuiModule} from 'ng2-semantic-ui';
28+
import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';
2929

3030
@NgModule({
3131
declarations: [AppComponent, ...],

demo/app/pages/getting-started/getting-started.page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { Component } from '@angular/core';
88
export class GettingStartedPage {
99
public installCode:string = `$ npm install ng2-semantic-ui --save`;
1010
public includeCssCode:string = `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.4/semantic.min.css">`;
11-
public importCode:string = `import {SuiModule} from 'ng2-semantic-ui';`;
11+
public importCode:string = `import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';`;
1212
public moduleImportCode:string = `
13-
import {SuiModule} from 'ng2-semantic-ui';
13+
import {SuiModule} from 'ng2-semantic-ui/ng2-semantic-ui';
1414
1515
@NgModule({
1616
declarations: [AppComponent, ...],
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng2-semantic-ui",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Angular 2 Semantic UI Components",
55
"repository": {
66
"type": "git",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
]
1818
},
1919
"files": [
20-
"index.ts",
20+
"ng2-semantic-ui.ts",
2121
"components/index.ts"
2222
]
2323
}

0 commit comments

Comments
 (0)