Page too heavy, Ionic App does not Load - How can I optimize?

Programmers,

I have a 22 page ionic app which was loading perfectly until I added one more page. The page has a bulky form with 21,686 fields. the HTML page is close to 3MB, and ts file is 1MB, but when I run ionic serve, it shows in the terminal that the app is published, but the browser loads for about 2 minutes, then shows this error:

I was thinking of implementing lazy loading, but i don’t know if it’ll make a difference, and I’m afraid about the limitations of lazy loading, whether or not the other views will slow down when individually clicked after the login page is loaded. Kindly advice. Thank you,

Philip.

I don’t think lazy loading is going to help here. I would instead look for natural ways to break that 22K-field form up into more manageable chunks.