I am currently writing an app with svelte, sapper and tailwind. So to get tailwind working I have added this to my rollup config svelte({ compilerOption
This is my config: import adapter from '@sveltejs/adapter-static'; import preprocess from 'svelte-preprocess'; import path from 'path'; /** @type {import('@sve
I have created a small component-library for myself based on this GitHub Repo: https://github.com/sveltejs/component-template This works fine and i have uploade
I'm trying to move a svelte SPA into Sveltekit. In my SPA, the communication schema is what I would call a "controller component" which takes care of displaying
I want to use Bootstrap (v4.5) in a Svelte (v3) project with custom theme. The bootstrap documentation states that you can do this with scss. So I've setup Svel
I have written a vanilla html app to test a Netlify function and it works I have attempted to write a Svelte application to mimic the same functionality The two
I want to dynamically import components without importing a specific component. I want to set the component name with a variable, received from the store: <s
In a SvelteKit project, I have included the a svelte type. My problem is that my linting (ESLint) throws an error saying that 'svelte' is not defined. My code i
I'm writing a test in jest for a svelte component which dynamically imports another component. The following snippet is the part where the dynamic import happen
I want to be able manage history of my SvelteKit app while simultaneously making sure the whole routing system of SvelteKit doesn't get affected in any way. Som
I am working on a big project that use Smarty template engine with AngularJs and we need to move out from AngularJs to Svelte. we face a bad problem that the de
The following Svelte code works fine: <input bind:value='options.name.value' placeholder='{{options.name.placeholder}}'> <p>Hello {{options.name.va
I'm iterating over an array of data and I want to do some processing on it before rendering it. I know that I could create a new component and pass array entry
I didn't manage to import postcss-normalize to Svelte using official starting boileprlate and svelte-preprocess. My rollup config: … plugins: [ svelte(
I'm trying to write a Svelte component that hides its slot during the time specified. For example, this next line should hide the paragraph during 3 seconds <
I have a Green Sock animation that is working fine in development, but breaks in yarn run preview and production: ScrollTrigger-4a410f45.js:9 Uncaught (in promi
The Svelte official tutorial employs such complex object in its document for <svelte:self> let root = [ { type: 'folder', name: 'Impor
I am trying to understand how to communicate with Svelte components. In my app I have created two components. In one, Antescript.svelte, I communicate with App.
I have a sveltekit app I'm working on and it includes Prisma, I have been trying to pass a posts Array to all of my routes via the __layout's load function. Thi
I am working on my first svelte project and are trying to use google-api-wrapper with the only change being that i import: import Google from "google-api-wrappe