I am excited about svelte, are you?. You can use the vite command to build a app indeed. It will create structure and dependencies for a regular app ?
npm init vite my-app -- --template svelte
Svelte Kit
Wanna complete setup for a project with full configuration and route setup. Try the new Svelte Kit.
npm create svelte my-app
cd my-app
npm install
npm run dev -- --open
Svelte Kit uses Vite build tool.
Explore the directory structure. You made it. 😂
- Configure aliases in Svelte Kit
- Passing data among components in Svelte
- Dynamic route in new Svelte Kit
- Static files in Svelte Kit
- Getting current url in Svelte Kit
- Navigate to another route in Svelte Kit (client side)
- Keystroke handling in Svelte
- $lib in Svelte Kit
- How to load data in Svelte Kit routes
- Create Svelte reusable component