0.3.1 • Published 2 months ago

@dopt/create-example v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@dopt/create-example

A CLI for scaffolding Dopt example projects.

Requirements

Node.js >= v16.0.0

Usage

Run the following command depending on what package manager you use:

# npm
npm create @dopt/example

# Yarn
yarn create @dopt/example

# pnpm
pnpm create @dopt/example

And then follow the instructions printed in your terminal.

You can specify the path to initialize the example project and the template to use by running:

# npm
npm create @dopt/example path-to-project -- --template template-name

# Yarn
yarn create @dopt/example path-to-project --template template-name

# pnpm
pnpm create @dopt/example path-to-project --template template-name

Some templates can also take in arguments for enhanced functionality:

# npm
npm create @dopt/example -- --template react --templateArgs arg1,arg2

# Yarn
yarn create @dopt/example --template react --templateArgs arg1,arg2

# pnpm
pnpm create @dopt/example --template react --templateArgs arg1,arg2

Templates

See the templates directory for the list of templates.

0.3.1

2 months ago

0.1.0

9 months ago

0.3.0

8 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0-alpha.0

1 year ago