Everything you need to build a Svelte project, powered by sv
.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
Once you've created a project and installed dependencies with yarn install
, start a development server:
yarn run dev
# or start the server and open the app in a new browser tab
yarn run dev -- --open
To create a production version of your app:
yarn run build
You can preview the production build with yarn run preview
.
The project is configured with GitHub Actions for automatic deployment. When you push to or merge into the main
branch, the site will automatically build and deploy to GitHub Pages.
You can also deploy manually using:
yarn deploy
Deployment changes may take 1–2 minutes to appear on the live site.
You can view the deployed application at: https://sw-logic.github.io/platform-ui
The project uses
@sveltejs/adapter-static
for static site generation and is configured for GitHub Pages deployment.