You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/ext-angular-classic/guides/Adding_ExtAngular_to_Angular_CLI_project.md
+6-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ To gain access to the Sencha npm repository:
9
9
1.[Start a free trial of ExtReact](https://www.sencha.com/products/extreact/evaluate/).
10
10
2.[Purchase ExtReact or Ext JS Enterprise](https://www.sencha.com/store/).
11
11
12
-
***Note:** Ext JS enterprise customers already have access to ExtReact.
12
+
***Note:** Ext JS enterprise customers already have access to ExtAngular.
13
13
***Note:** Existing customers use your support portal credentials. But switch the username, `@` character with `'..'` two periods, so the username would look something like this after it's converted: `name..gmail.com`.
14
14
15
15
### Step 2: Login to the npm repository
@@ -31,7 +31,7 @@ npm install -g @angular/cli
31
31
- Generate an Angular appication.
32
32
33
33
```
34
-
ng new ext-angular-modern-demo --minimal=true --interactive=false -g=true --skipInstall=false
34
+
ng new ext-angular-classic-demo --minimal=true --interactive=false -g=true --skipInstall=false
35
35
```
36
36
37
37
## Add ExtAngular Components to the Angular Application
@@ -41,7 +41,8 @@ ng new ext-angular-modern-demo --minimal=true --interactive=false -g=true --skip
41
41
In the project, install the ExtAngular components dependency in the package.json.
42
42
43
43
```
44
-
npm install @sencha/ext-angular-modern
44
+
npm install @sencha/ext-classic-runtime --save
45
+
npm install @sencha/ext-angular-classic --save
45
46
```
46
47
47
48
### Step 2: Configure Application
@@ -64,19 +65,11 @@ Configure the Angular App Module
64
65
65
66
In the file [project]/src/app/app.module.ts add the ExtAngular components import.
66
67
67
-
First delcare the import to import into the app module.
68
-
Declare the import in the imports property.
69
-
70
68
```
71
69
import { BrowserModule } from '@angular/platform-browser';
72
70
import { NgModule } from '@angular/core';
73
-
```
74
-
75
71
// 1. Import the ExtAngular components
76
-
77
-
```
78
-
import { ExtAngularModernModule } from '@sencha/ext-angular-modern';
79
-
72
+
import { ExtAngularClassicModule } from '@sencha/ext-angular-classic';
80
73
import { AppComponent } from './app.component';
81
74
82
75
@NgModule({
@@ -86,7 +79,7 @@ import { AppComponent } from './app.component';
86
79
imports: [
87
80
BrowserModule,
88
81
// 2. Delclare the ExtAngular import in the app module imports.
Copy file name to clipboardExpand all lines: packages/ext-angular-modern/guides/Adding_ExtAngular_to_Angular_CLI_project.md
+3-10Lines changed: 3 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ To gain access to the Sencha npm repository:
9
9
1.[Start a free trial of ExtReact](https://www.sencha.com/products/extreact/evaluate/).
10
10
2.[Purchase ExtReact or Ext JS Enterprise](https://www.sencha.com/store/).
11
11
12
-
***Note:** Ext JS enterprise customers already have access to ExtReact.
12
+
***Note:** Ext JS enterprise customers already have access to ExtAngular.
13
13
***Note:** Existing customers use your support portal credentials. But switch the username, `@` character with `'..'` two periods, so the username would look something like this after it's converted: `name..gmail.com`.
14
14
15
15
### Step 2: Login to the npm repository
@@ -41,7 +41,8 @@ ng new ext-angular-modern-demo --minimal=true --interactive=false -g=true --skip
41
41
In the project, install the ExtAngular components dependency in the package.json.
42
42
43
43
```
44
-
npm install @sencha/ext-angular-modern
44
+
npm install @sencha/ext-modern-runtime --save
45
+
npm install @sencha/ext-angular-modern --save
45
46
```
46
47
47
48
### Step 2: Configure Application
@@ -64,19 +65,11 @@ Configure the Angular App Module
64
65
65
66
In the file [project]/src/app/app.module.ts add the ExtAngular components import.
66
67
67
-
First delcare the import to import into the app module.
68
-
Declare the import in the imports property.
69
-
70
68
```
71
69
import { BrowserModule } from '@angular/platform-browser';
72
70
import { NgModule } from '@angular/core';
73
-
```
74
-
75
71
// 1. Import the ExtAngular components
76
-
77
-
```
78
72
import { ExtAngularModernModule } from '@sencha/ext-angular-modern';
0 commit comments