Unable to load all the angular app dependencies #2786
aman-saraf
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to load the angular app (remote) into my nextJs app (host). I was able to setup the routing and my nextjs app is able to load the angular app. However, the loaded angular app is not able to resolve some icons , e.t.c which are used in angular through npm packages such as material icons, angular's flex layout css e.t.c.
I tried exporting all the packages from the angular's webpack.config.js file, but it still doesn't work. Here's my webpack config
Angular (Remote) Webpack
NextJs (Host) Webpack
As written on the config file, I've put the material-icons, @angular/flex-layout , @angular/material e.t.c under the shared config into my webpack, but it still doesn't work. Can one please guide me what I'm doing wrong ?
Versions Used
Beta Was this translation helpful? Give feedback.
All reactions