{

Learn free svelte tutorials


How to change default port number for svelte and sveltekit example

December 1, 2022 ·  2 min read

This tutorial shows you how to change the default port number in the svelte and sveltekit application How to change the default port in the svelte application? The svelte application can be created using sveltejs/template. sveltejs/template uses sirv cli tool. by default, the Svelte application runs with the npm run dev command and listens at 5000 port. There are multiple ways we can change default port. Here is an existing scripts created in package....


How to git ignore files in a svelte project with example

December 1, 2022 ·  2 min read

Learn how to ignore files for git commit in the svelte application. svelte is a compiler for generating javascript which runs as a web application or a single component. There are different types of things that can be ignored during committing the files from the svelte project. npm build target files logs Runtime process data Istanbul code coverage tools Dependency modules folders Environment files The editor temporary generates files What files are ignored in the svelte project for the gitignore file Multiple files generate with svelte project creation....


Subscribe
You'll get a notification every time a post gets published here.