angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Create a way to customize ng-new

Open willi84 opened this issue 2 years ago • 2 comments

Command

new

Description

for workshops it would be helpful to have a customized start screen with custom html to make it easier for people to start the workshop and have less friction with updated start view with newer versions as e.g. with v17 happened

Describe the solution you'd like

a configuration which provides a reference to a custom template of a start screen, e.g.

ng new todo-list --start=@ng-girls/starter

and for this there need to be a special scheme to configure the start template or other options

Describe alternatives you've considered

stackblitz, but I would also have it with the CLI

willi84 avatar Nov 30 '23 15:11 willi84

This is currently possible by using the collection argument. However, the collection package does need to be installed globally.

Example:

ng new todo-list --collection=@ng-girls/starter

We could potentially improve the DX here and install the package automatically if not found.

alan-agius4 avatar Dec 01 '23 07:12 alan-agius4