MINIPROJEKTW2_1/calculator
2024-10-21 22:15:09 +00:00
..
src Första commit 2024-10-21 20:16:54 +02:00
static Första commit 2024-10-21 20:16:54 +02:00
styles Första commit 2024-10-21 20:16:54 +02:00
__layout.svelte Första commit 2024-10-21 20:16:54 +02:00
.gitignore Första commit 2024-10-21 20:16:54 +02:00
.npmrc Första commit 2024-10-21 20:16:54 +02:00
.prettierignore Första commit 2024-10-21 20:16:54 +02:00
.prettierrc Första commit 2024-10-21 20:16:54 +02:00
Calculator.svelte Första commit 2024-10-21 20:16:54 +02:00
CalculatorDisplay.svelte Första commit 2024-10-21 20:16:54 +02:00
CalculatorKeyboard.svelte Första commit 2024-10-21 20:16:54 +02:00
delete_this_folder.md Add calculator/delete_this_folder.md 2024-10-21 22:15:09 +00:00
eslint.config.js Första commit 2024-10-21 20:16:54 +02:00
jsconfig.json Första commit 2024-10-21 20:16:54 +02:00
package.json Första commit 2024-10-21 20:16:54 +02:00
README.md Första commit 2024-10-21 20:16:54 +02:00
svelte.config.js Första commit 2024-10-21 20:16:54 +02:00
tsconfig.json Första commit 2024-10-21 20:16:54 +02:00
vite.config.js Första commit 2024-10-21 20:16:54 +02: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.