33 lines
663 B
Markdown
33 lines
663 B
Markdown
|
|
# bun init
|
||
|
|
|
||
|
|
> Crea lo scheletro di un progetto Bun vuoto.
|
||
|
|
> Maggiori informazioni: <https://bun.com/docs/runtime/templating/init>.
|
||
|
|
|
||
|
|
- Inizializza un progetto Bun nella directory corrente:
|
||
|
|
|
||
|
|
`bun init`
|
||
|
|
|
||
|
|
- Inizializza in una directory specifica:
|
||
|
|
|
||
|
|
`bun init {{path/to/directory}}`
|
||
|
|
|
||
|
|
- Inizializza con un nome di progetto specifico:
|
||
|
|
|
||
|
|
`bun init {{[-n|--name]}} {{project_name}}`
|
||
|
|
|
||
|
|
- Inizializza un progetto con risposte predefinite:
|
||
|
|
|
||
|
|
`bun init {{[-y|--yes]}}`
|
||
|
|
|
||
|
|
- Inizializza un progetto minimale:
|
||
|
|
|
||
|
|
`bun init {{[-m|--minimal]}}`
|
||
|
|
|
||
|
|
- Inizializza un progetto React:
|
||
|
|
|
||
|
|
`bun init {{[-r|--react]}}`
|
||
|
|
|
||
|
|
- Inizializza un progetto React con Tailwind CSS:
|
||
|
|
|
||
|
|
`bun init --react=tailwind`
|