This is a starter template for SvelteKit, a framework for building web applications of all sizes, with a lot of the hassle taken out. The temaplate contains a basic setup for a SvelteKit project with SCSS support, and a basic layout with a header and footer.
You will have to install Node.js and npm first then run the following commands:
npm install
To start a development server:
npm run dev
Navigate to localhost:5173. You should see your app running. Edit a component file in src
, save it, and the page should reload with your changes.
npm run build
This will create an optimized version of your app in the build
directory. You can also preview the built app with npm run preview
. Learn more about SvelteKit's build process.
To learn more about SvelteKit, check out the documentation. You can also find the SvelteKit Discord and SvelteKit subreddit helpful. If you have a question, you can ask it on Stack Overflow with the svelte
or sveltekit
tag.
To deploy your app, follow the instructions in the SvelteKit documentation. You can also use Vercel or Netlify to deploy your app.