Everything you need to build a Svelte project, powered by create-svelte
.
npm i -g pnpm
pnpm i
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev -- --open
To create a production version of your app:
pnpm build
pnpm preview
To deploy your app, you may need to install an adapter for your target environment.
This project uses Github Pages to deploy. So, install@sveltejs/adapter-static
.
/static/.nojekyll
file is required. If it is dismissed, you can't access _app directory.
pnpm run deploy