/ng2learn

Primary LanguageTypeScript

ng2learn

Generate new app

ng new {APP_NAME} --skip-tests --style=scss

Generate new component

will generate the following component:
{APP_NAME}/src/app/components/{componentName}

ng g component components/{componentName} --spec=false

Generate new pipe

will generate the following pipe:
{APP_NAME}/src/app/pipes/{pipeName}

ng g pipe pipes/{pipeName} --spec=false

Start development server

ng serve --hmr --open