How to Add Angular Library to an Ionic Application

Asked

Viewed 32 times

2

I have an angular 7 lib, which works normally when I import the library module into the main module of the Ionic application, the problem is that if I use the Ionic router to insert the "home" Component for example. Inside this home component, lib is not found in the module. there is some injection in the module of the routes that I should do so that the module of the home component sees the modules "parents" of the application?

1 answer

0


The problem was solved by replacing the Browsermodule module with the Commonmodule, thus solving the problem that Ionic pointed to with double dependency of the Browsermodule module.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.