Go to file
2022-10-01 02:28:44 -04:00
src add import badge 2022-09-30 08:06:05 +00:00
static add import badge 2022-09-30 08:06:05 +00:00
.eslintignore initialize new codebase 2022-09-29 16:03:32 +00:00
.eslintrc.cjs initialize new codebase 2022-09-29 16:03:32 +00:00
.gitignore initialize new codebase 2022-09-29 16:03:32 +00:00
.npmrc initialize new codebase 2022-09-29 16:03:32 +00:00
.prettierignore initialize new codebase 2022-09-29 16:03:32 +00:00
.prettierrc initialize new codebase 2022-09-29 16:03:32 +00:00
hero.png update README 2021-10-31 18:00:22 +00:00
LICENSE Create LICENSE 2021-11-02 20:08:39 +01:00
package.json initialize new codebase 2022-09-29 16:03:32 +00:00
postcss.config.cjs initialize new codebase 2022-09-29 16:03:32 +00:00
README.md initialize new codebase 2022-09-29 16:03:32 +00:00
svelte.config.js initialize new codebase 2022-09-29 16:03:32 +00:00
tailwind.config.cjs change data 2022-09-29 16:47:56 +00:00
tsconfig.json initialize new codebase 2022-09-29 16:03:32 +00:00
vite.config.ts initialize new codebase 2022-09-29 16:03:32 +00:00
yarn.lock initialize new codebase 2022-09-29 16:03:32 +00:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.