blog.jfmonty2.com codebase
Go to file
2023-12-20 07:45:26 -08:00
src add mono font and rework codeblock css 2023-12-20 07:45:26 -08:00
static add mono font and rework codeblock css 2023-12-20 07:45:26 -08:00
.gitignore tweak next/prev links 2023-09-23 19:23:40 -07:00
.npmrc upgrade to sveltekit 1 2023-08-26 20:55:35 -07:00
package-lock.json switch to sass and split global styles, rework heading css 2023-12-18 13:41:01 -08:00
package.json switch to sass and split global styles, rework heading css 2023-12-18 13:41:01 -08:00
README.md upgrade to sveltekit 1 2023-08-26 20:55:35 -07:00
svelte.config.js switch to sass and split global styles, rework heading css 2023-12-18 13:41:01 -08:00
vite.config.js upgrade to sveltekit 1 2023-08-26 20:55:35 -07: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.