I'm working in a Svelte project with rollup. After working for a while, when I try to restart de project in production to see the changes and I write 'npm run d
I am trying to make my graphQL requests have a Content-Type of 'application/json` using Svelte and URQL. However, every request has a Content-Type of 'text/pla
I'm making a simple app based on socket connection. Basically one user is deciding what other users can see. One of functionalities is to start timer for other
Using postcss with plugin postcss-nesting in svelte is quite easy -- adding postcss-nesting to the preprocess config in svelte.config.js is the only thing neede
I'm exploring SvelteKit for the first time, I built my simple first application and I'd like to deploy it to my Apache server as a static page As far as I under
I am working on a website and there for using Svelte and the svelte-routing library . The svelte-routing library has a method called navigate(path). I use this
I’ve created a monorepo with Turborepo that contains 2 SvelteKit apps and 2 packages: a component library (which is also based on SvelteKit) and a configu
I have a svelte page to show a list of post, I need to give the user the ability to filter that list by several conditions, eg: year, tags, category, etc. All t
I am creating an app with a SvelteKit client and a Laravel API stack, but I am struggling to safely authenticate my client to my API. Ideally I want to store a
<style> color: red; </style> Some html content! this code does not work. In the Angular framework it can be done by using the :host selector.
I'm trying to style the currently active tab of my web project with the class "active". To target my tab elements I am using onMount(() => { const li
Problem I was on Svelte version 3.0.0 and used npm i svelte@latest to update to the most recent version. Now I can't get the app to run, I always get this errro
I have an Azure static web app with a svelte front end and azure server less functions for backend. When developing locally I can connect to the functions perfe
I know this has to be something blindingly obvious but I'm not getting it. I have two divs, one draggable and the other with an on:drop which doesn't seem to be
During unit testing, I am getting undefined error, while executing svelte component with json file. Restaurant.svelte : import data from '../Data/restaurants.js
Yesterday I was trying to translate a problem I had to solve in React, to Svelte, and I can't figure it out. The problem is the following: I have 3 inputs each
I have been trying to get my portfolio working on Github Pages with a custom domain, I have build everything with Sapper / Svelte. Locally everything works grea
I am having problems deploying my svelte web3 App to my VPS running Dokku. The structure of the folder is as follows: root |-->svelte |--> ... I found s
I have a SvelteKit landing page component that calculates and displays statistics. Because crunching the numbers out from the database is a heavy job, and this
I'm going through the Svelte tutorial and I'm on the custom store page (https://svelte.dev/tutorial/custom-stores). The sample code is written using a factory f