Skip to content

Files

Latest commit

ac2b2a8 · Jan 6, 2023

History

History
This branch is 1860 commits behind sveltejs/kit:main.

create-svelte

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 26, 2022
Jan 5, 2023
Dec 24, 2022
Oct 20, 2022
Nov 26, 2022
Jul 5, 2022
Jan 6, 2023
Dec 8, 2022
Dec 14, 2022
Oct 2, 2022
Jan 6, 2023
Mar 3, 2022
Jan 20, 2022

create-svelte

A CLI for creating new SvelteKit projects. Just run...

npm create svelte@latest

...and follow the prompts.

API

You can also use create-svelte programmatically:

import { create } from 'create-svelte';

await create('my-new-app', {
  name: 'my-new-app',
  template: 'default', // or 'skeleton' or 'skeletonlib'
  types: 'checkjs', // or 'typescript' or null;
  prettier: false,
  eslint: false,
  playwright: false,
  vitest: false
});

checkjs means your project will use TypeScript to typecheck JavaScript via JSDoc comments.

License

MIT.