Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I create vue-cli project without Git?

When I create a vue-cli project, by default, comes with initialized Git. So, I want to know if there is any kind of flag or something to create a template without it.

like image 289
Juan Saez Avatar asked May 14 '26 16:05

Juan Saez


1 Answers

From the docs:

Usage: create [options] <app-name>

create a new project powered by vue-cli-service


Options:

  -p, --preset <presetName>       Skip prompts and use saved or remote preset
  -d, --default                   Skip prompts and use default preset
  -i, --inlinePreset <json>       Skip prompts and use inline JSON string as preset
  -m, --packageManager <command>  Use specified npm client when installing dependencies
  -r, --registry <url>            Use specified npm registry when installing dependencies

  -g, --git [message|false]       Force / skip git initialization, optionally specify initial commit message
  -n, --no-git                    Skip git initialization

  -f, --force                     Overwrite target directory if it exists
  -c, --clone                     Use git clone when fetching remote preset
  -x, --proxy                     Use specified proxy when creating project
  -b, --bare                      Scaffold project without beginner instructions
  -h, --help                      Output usage information
like image 68
Vucko Avatar answered May 17 '26 09:05

Vucko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!