Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.06 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.06 KB

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


See package.json for all scripts.  

This project uses *p*npm  

# install all pkgs to node_modules
pnpm install 

# Run in dev server 
pnpm start 

# add a developer package
pnpm add -D [package name]  

# More info here https://pnpm.io/cli/add  

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.

Testing

https://playwright.dev/docs/intro

pnpm create playwright
npx playwright test

npX