Minha tela não apareceu apos criar as rotas. no console do navegador deu este erro.
core.js:6456 ERROR NullInjectorError: R3InjectorError(AppModule)[ChildrenOutletContexts -> ChildrenOutletContexts -> ChildrenOutletContexts]:
NullInjectorError: No provider for ChildrenOutletContexts!
at NullInjector.get (http://localhost:4200/vendor.js:17259:27)
at R3Injector.get (http://localhost:4200/vendor.js:17425:33)
at R3Injector.get (http://localhost:4200/vendor.js:17425:33)
at R3Injector.get (http://localhost:4200/vendor.js:17425:33)
at NgModuleRef$1.get (http://localhost:4200/vendor.js:31507:33)
at Object.get (http://localhost:4200/vendor.js:31221:35)
at lookupTokenUsingModuleInjector (http://localhost:4200/vendor.js:9524:39)
at getOrCreateInjectable (http://localhost:4200/vendor.js:9636:12)
at Module.ɵɵdirectiveInject (http://localhost:4200/vendor.js:20886:12)
at NodeInjectorFactory.RouterOutlet_Factory [as factory] (http://localhost:4200/vendor.js:47075:150)