Skip to content

Ngx meta.ngxmetaroutingmodule.forroot

Home > @davidlj95/ngx-meta > NgxMetaRoutingModule > forRoot

NgxMetaRoutingModule.forRoot() method

Enables managing metadata of a page by specifying it in its Angular Route#data

Use NgxMetaRoutingModule.forRoot() method. Importing the module class alone does nothing.

Check out provideNgxMetaRouting() for the standalone, recommended API.

Signature:

static forRoot(): ModuleWithProviders<NgxMetaRoutingModule>;
Returns:

ModuleWithProviders<NgxMetaRoutingModule>