I have these two imports almost on every components module:
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
Is it possible to only have them imported to the global app.component / module where they can be shared?
I'm wanting to be more efficient with my imports because it seems to be effecting my app loading.
Currently my app takes 4 seconds to load and I believe its because of the imports. I have many and want to refactor how I use them.
Also, I'm open to other ideas on how best to import.
My overall goal is to speed up my app down to 2 seconds by doing less imports on all my components.