Find a file
2023-05-05 10:55:58 +01:00
api/[domain] Tweak cache control for function 2023-05-05 10:55:49 +01:00
src Initial commit of source code 2023-05-05 09:31:41 +01:00
static Initial commit of source code 2023-05-05 09:31:41 +01:00
tests Initial commit of source code 2023-05-05 09:31:41 +01:00
.build.yml Add sourcehut build configuration 2023-05-05 10:55:58 +01:00
.envrc Initial commit of source code 2023-05-05 09:31:41 +01:00
.eslintignore Initial commit of source code 2023-05-05 09:31:41 +01:00
.eslintrc.cjs Initial commit of source code 2023-05-05 09:31:41 +01:00
.gitignore Initial commit of source code 2023-05-05 09:31:41 +01:00
.npmrc Initial commit of source code 2023-05-05 09:31:41 +01:00
.prettierignore Initial commit of source code 2023-05-05 09:31:41 +01:00
.prettierrc Initial commit of source code 2023-05-05 09:31:41 +01:00
flake.lock Initial commit of source code 2023-05-05 09:31:41 +01:00
flake.nix Initial commit of source code 2023-05-05 09:31:41 +01:00
LICENSE Initial commit of source code 2023-05-05 09:31:41 +01:00
package-lock.json Initial commit of source code 2023-05-05 09:31:41 +01:00
package.json Initial commit of source code 2023-05-05 09:31:41 +01:00
postcss.config.js Initial commit of source code 2023-05-05 09:31:41 +01:00
README.md Initial commit of source code 2023-05-05 09:31:41 +01:00
svelte.config.js Initial commit of source code 2023-05-05 09:31:41 +01:00
tailwind.config.js Initial commit of source code 2023-05-05 09:31:41 +01:00
tsconfig.json Initial commit of source code 2023-05-05 09:31:41 +01:00
vite.config.ts Initial commit of source code 2023-05-05 09:31:41 +01: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.