-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Given this:
<div class="page-content-view">
<ngx-dynamic-hooks [content]="pageContent"></ngx-dynamic-hooks>
</div>
pageContent
is simply a variable that gets populated with a string of HTML after an Angular API call. ngUniversal definitely captures the API call in the SSR renderer, and everything else about the page can be found in the "View Source" read out, except the content that ngx-dynamic-hooks renders out. The content shows up to the viewer, just not in the view source for the purpose of scrapers and googlebot.
ng --version
readout:
Angular CLI: 13.1.2
Node: 16.13.1
Package Manager: npm 8.3.0
OS: win32 x64
Angular: 13.1.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1301.2
@angular-devkit/build-angular 13.1.2
@angular-devkit/core 13.1.2
@angular-devkit/schematics 13.1.2
@angular/cli 13.1.2
@angular/flex-layout 13.0.0-beta.36
@nguniversal/builders 13.0.1
@nguniversal/express-engine 13.0.1
@schematics/angular 13.1.2
rxjs 6.6.7
typescript 4.5.4
current package-lock.json
"node_modules/ngx-dynamic-hooks": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/ngx-dynamic-hooks/-/ngx-dynamic-hooks-1.7.2.tgz",
"integrity": "sha512-O1jrdF+kS4y/B66gKynEsz8hhQbQnBobVA9tFFdU7eQeLorNKOHUnwi/2/oOQQOhYnfo4x+7pp3TF5TwJZsj3w==",
"dependencies": {
"tslib": "^2.0.0"
},
"peerDependencies": {
"@angular/core": "6 - 13",
"rxjs": "~6"
}
},
Metadata
Metadata
Assignees
Labels
No labels