ng-sm / title Goto Github PK
View Code? Open in Web Editor NEWAngular - page title module based on ngx-translate
Angular - page title module based on ngx-translate
I am trying to add this module to app based on Angular 9 (with ivy). I am getting this error:
ERROR in node_modules/@ngsm/title/lib/title.module.d.ts:4:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (@ngsm/title) which declares TitleModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with
the library's authors to see if the library is expected to be compatible with Ivy.
4 export declare class TitleModule {
~~~~~~~~~~~
Module is imported with: import { TitleModule } from '@ngsm/title';
, I am not using @ngsm/i18n
I'm submitting a ... (check one with "x")
bug report => check the FAQ and search github for a similar issue or PR before submitting
support request => check the FAQ and search github for a similar issue before submitting
feature reques
Current behavior
I followed the installation and usage steps for ngx-translate but I get this error :
Error: No provider for TranslateService!
AppRoutingModule
export const routes: Routes = [ { path: '', redirectTo: 'dashboard', pathMatch: 'full', }, { path: '404', component: P404Component, data: { title: 'title.404PAGE' } }]
AppRoutingModule
imports: [ RouterModule.forRoot(routes) ,TranslateModule.forRoot(), TitleModule]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.