Half dynamic svelte pages built as a static web site.
Go to file
Cassie Cheung 618a16e0a8
chore: unexperimentalize inspector
Signed-off-by: Cassie Cheung <me@soopy.moe>
2023-05-24 13:51:15 +08:00
ansible ci: shorten deploy time 2022-12-25 15:15:56 +08:00
src chore: 🗿 2023-05-24 13:49:36 +08:00
static chore: 🗿 2023-05-24 13:45:29 +08:00
.editorconfig feat: barebones init 2022-12-14 01:17:00 +08:00
.gitignore feat: barebones init 2022-12-14 01:17:00 +08:00
.npmrc feat: barebones init 2022-12-14 01:17:00 +08:00
.yarnrc.yml feat: barebones init 2022-12-14 01:17:00 +08:00
LICENSE chore: add license 2022-12-14 01:38:16 +08:00
README.md feat: barebones init 2022-12-14 01:17:00 +08:00
mdsvex.config.js feat: mdsvex layouts (singular) 2022-12-14 19:28:06 +08:00
package.json chore: 🗿 2023-05-24 13:45:29 +08:00
pnpm-lock.yaml chore: 🗿 2023-05-24 13:45:29 +08:00
svelte.config.js chore: unexperimentalize inspector 2023-05-24 13:51:15 +08:00
tsconfig.json feat: barebones init 2022-12-14 01:17:00 +08:00
vite.config.js feat: barebones init 2022-12-14 01:17:00 +08: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.