[...]) untuk trigger reactivity. Referensi: Svelte Testing Library Docs Vite Debugging Guide Deploy Proyek ke Web Deploy To-Do List ke Web Build Produksi Jalankan perintah ini untuk generate file statis:Hasilnya ada di folder dist/—siap diupload ke hosting apa pun. Pilih Hosting Gratis Vercel: ... npx svelte-kit sync npm install @sveltejs/adapter-vercel --save-dev Lalu update svelte.config.js. Tips Penting Cek Routing Jika pakai client-side routing, pastikan hosting support SPA fallback (misal: tambah file _redirects di Netlify dengan /* /index.html 200). Env Variables Simpan sensitive data
Vercel hosting
- Home
- Vercel hosting