New

sveltin new

Create new resources and pages.

Synopsis

Command used to creates SvelteKit routes in your project. A route in Sveltin is both a public page and a resource.

Examples:

sveltin new page about
sveltin new resource posts

Usage

sveltin new <project> [flags]

Aliases:

new, n

Available Commands

  page        Create a new page route
  resource    Create a new resource (route)

Flags

  -h, --help                  help for new

SEE ALSO

Last updated: 07-Feb-2023

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

The Sveltin logos are copyright © Mirco Veltri.