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
@@ -89,6 +94,13 @@ _Inside AngularJS, implement the following:_
89
94
}
90
95
```
91
96
97
+
> **NOTE:**
98
+
> https://angular.io/cli/build
99
+
>
100
+
>--extract-css
101
+
>
102
+
>Deprecated: Deprecated since version 11.0. No longer required to disable CSS extraction for HMR. Extract CSS from global styles into '.css' files instead of '.js'.
103
+
92
104
### Creating components
93
105
94
106
1. In AngularJS, run
@@ -99,9 +111,9 @@ _Inside AngularJS, implement the following:_
99
111
100
112
This step will create `pdfviewer`folder and related component files under `AngularJS/src/app`. Now, you need to implement the followings in `AngularJS/src/app/`.
101
113
102
-
1. Place the `license-key.js` into `../pdfviewer/`. You can find the license information at `SDK/examples/`.
103
-
1. Update `../pdfviewer/component.ts`. For configuration details, refer to the counterpart file inside SDK.
104
-
1. Update `../component.html` to pass a DOM element for placing web viewer.
114
+
1. Place the `license-key.js` into `src/app/pdfviewer/`. You can find the license information at `SDK/examples/`.
115
+
1. Update `src/app/pdfviewer/component.ts`. For configuration details, refer to the counterpart file inside SDK.
116
+
1. Update `src/app/app.component.html` to pass a DOM element for placing web viewer.
105
117
106
118
```html
107
119
<div>
@@ -179,7 +191,7 @@ This method was used by default in the out-of-the-box example for Anguar.
179
191
180
192
This way will automatically merge addons once `npm start` is successfully executed.
181
193
182
-
4. The import method can be seen at `/integrations/angular/src/app/pdfviewer/pdfviewer.component.ts`.
194
+
4. The import method can be seen at `src/app/pdfviewer/pdfviewer.component.ts`.
0 commit comments