1.0.1 • Published 2 years ago

create-voby-app v1.0.1

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

Voby App CLI

The official CLI for starting a new Voby project quickly.

Compatibility Note: Vite requires Node.js version >=14.6.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.

With NPM:

npm init voby-app@latest
npx create-voby-app@latest

With Yarn:

yarn create voby-app

With PNPM:

pnpm create voby-app

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Voby + Tailwind CSS project, run:

# npm 6.x
npm init voby-app@latest my-voby-app --template [template]

npx create-voby-app@latest my-voby-app --template [template]

# npm 7+, extra double-dash is needed:
npm init voby-app@latest my-voby-app -- --template [template]

npx create-voby-app@latest my-voby-app -- --template [template]

# yarn
yarn create voby-app my-voby-app --template [template]

# pnpm
pnpm create voby-app my-voby-app -- --template [template]

Currently supported template presets include:

  • minimal
  • minimal-ts
  • tailwind
  • tailwind-ts
  • windicss
  • windicss-ts
  • unocss
  • unocss-ts
  • bootstrap
  • bootstrap-ts
  • scss
  • scss-ts
  • pwa
  • pwa-ts

Community Templates

voby-app-cli is a tool to quickly start a project from a basic template for Voby frameworks. You can use a tool like degit to scaffold your project with one of the templates listed above.

npx degit vobyjs/voby-app-cli/template my-project
cd my-project

npm install
npm run dev

If the project uses master as the default branch, suffix the project repo with #master

npx degit vobyjs/voby-app-cli/template#master my-project

I don't see a template that matches my need?

You wish there was a template with your favorite library?

Feel free to make a pull request. Copy one of the template already available, tweak it, name it properly and make a PR. See contributing below.

Contributing

You can create your own template and prefix it with template-[name] for JS template or template-[name]-ts for TS template and giving it a name that describe the purpose.

1.0.1

2 years ago

1.0.0

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago