But the problem is you cannot create production ready web app with svelte because you will face SEO problem code splitting problem etc..
Hence Sapper come in pictures and solve most of the issues.But you knew sapper will never touch v1.0 you can read this blog post by Rich Harris - creator of svelte.
Hence i have looked into the sveltekit . If you are a React developer you can think sveltekit as a Nextjs. If you are a Vue developer you can look it as Nuxtjs.
In this project i have used Svelte-materialify very cool and awesome material library inspired by vuetify.
This is a simple instagram like image and post sharing web app where user can follow another user view their profile like post and create post
Everything you need to build a Svelte project, powered by
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory npm init svelte@next # create a new project in my-app npm init svelte@next my-app
Once you've created a project and installed dependencies with
npm install (or
pnpm install or
yarn), start a development server:
npm run dev # or start the server and open the app in a new browser tab npm run dev -- --open
Svelte apps are built with adapters, which optimise your project for deployment to different environments.
npm run build will generate a Node app that you can run with
node build. To use a different adapter, add it to the
Live demo sveltegram
- deployed on vercel. refresh page if getting application error from vercel