-2

i have a Login module which contains login.html. i want login to be the default module and login.html as the default opening page.

A V
  • 9
  • 5

1 Answers1

0

in main.ts file you will have something like this

import { AppModule } from './app.module';
platformBrowserDynamic().bootstrapModule(AppModule);

replace this with

import { LoginModule } from './login.module';
platformBrowserDynamic().bootstrapModule(LoginModule);
Rameez Usmani
  • 135
  • 1
  • 8