import { Component } from '@angular/core';
        selector: 'prefix-app',
        template: `
      export class AppComponent { }

      Typescript language logo
      your recipe card header background
      Angular Root Component

      Angular snippets for TypeScript

      In the above code, we are importing the Component from @angular/core. We are also specifying that our AppComponent class will be exported. This means that outside of our AppComponent class, we can reference the RouterOutlet.

      Shortcut: a_component_root


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.