Svelte
Create a Svelte
project based on Farm
.
Farm
provides two approaches to support creating Svelte
projects:
- Use the
create-farm
scaffold to create a scaffold project - You can manually create a
Svelte
project following the current documentation
Creating a Svelte Project
Select Svelte
template in Select Framework
Svelte
For Svelte
support, Farm
recommends using Vite
plugins.
farm.config.ts
svelte.config.ts
If you want to start DevServer
If you need to run the build production environment product command
If you need to preview your build product
For more example details: Svelte Example