create-analog
The create-analog
package contains templates for scaffolding new Analog projects.
- npm
- Yarn
- pnpm
npm create analog@latest
yarn create analog
pnpm create analog
Optional create-analog
flags
Flag | Description | Value type | Default value |
---|---|---|---|
<name> | Name of the project. Specify . to scaffold the project in the current directory. | string | |
--template | Template preset. | string |
Template presets
Preset | Description |
---|---|
angular-v14 | Angular version 14 application. |
Example
To scaffold an Angular version 14 application in the my-angular-app
directory, run:
- npm
- Yarn
- pnpm
# npm >=7.0
npm create analog@latest my-angular-app -- --template angular-v14
# npm 6.x
npm create analog@latest my-angular-app --template angular-v14
yarn create analog my-angular-app --template angular-v14
pnpm create analog my-angular-app --template angular-v14
Using with Tailwind
Analog is powered by Vite, please follow the Tailwind guidelines to use it in your project!