Ana içeriğe atla

create-analog

The create-analog package contains templates for scaffolding new Analog projects.

npm create analog@latest

Optional create-analog flags

FlagDescriptionValue typeDefault value
<name>Name of the project. Specify . to scaffold the project in the current directory.string
--templateTemplate preset.string

Template presets

PresetDescription
Full-stack ApplicationDefault Analog application.
BlogDefault template enhanced with a blog example.

Example

To scaffold an Angular application in the my-angular-app directory, run:

# npm >=7.0
npm create analog@latest my-angular-app -- --template latest
# npm 6.x
npm create analog@latest my-angular-app -- --template blog