Init

sveltin init

Initialize a new sveltin project.

Synopsis

Command used to initialize/scaffold a new sveltin project.

Examples:

sveltin init blog
sveltin init blog --css tailwindcss
sveltin init blog --css vanillacss -t myTheme
sveltin init portfolio -c tailwindcss -t paper -n pnpm -p 3030 --git
sveltin init <project> [flags]

Aliases

create

Options

  -c, --css string         The CSS lib to use. Valid: vanillacss, tailwindcss, bulma, bootstrap, scss
  -g, --git                Initialize an empty Git repository
  -h, --help               help for init
  -n, --npmClient string   The name of your preferred npm client
  -p, --port string        The port to start the server on (default "5173")
  -t, --theme string       The theme you are going to create or reuse

SEE ALSO

  • sveltin - sveltin is the main command to work with SvelteKit powered static websites.

Last updated: 06-Sep-2022

Apache 2.0 License @ 2021-present Sveltin.io and contributors .

The Sveltin logos are copyright © Mirco Veltri 2021.