Source code for my personal website https://bgenc.net
Find a file
2023-11-18 13:34:50 -06:00
src Writing more of the home page 2023-11-18 13:34:50 -06:00
static images and stuff 2023-11-18 12:19:29 -06:00
.eslintignore start 2023-11-18 11:09:07 -06:00
.eslintrc.cjs start 2023-11-18 11:09:07 -06:00
.gitattributes start 2023-11-18 11:09:07 -06:00
.gitignore start 2023-11-18 11:09:07 -06:00
.npmrc start 2023-11-18 11:09:07 -06:00
.prettierignore start 2023-11-18 11:09:07 -06:00
.prettierrc start 2023-11-18 11:09:07 -06:00
package-lock.json Writing more of the home page 2023-11-18 13:34:50 -06:00
package.json Writing more of the home page 2023-11-18 13:34:50 -06:00
README.md start 2023-11-18 11:09:07 -06:00
svelte.config.js images and stuff 2023-11-18 12:19:29 -06:00
tsconfig.json start 2023-11-18 11:09:07 -06:00
vite.config.ts images and stuff 2023-11-18 12:19:29 -06: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.