Visual Studio Code – Svelte component with typescript in another file not linting
I separated my .svelte, .ts and .scss in 3 distinct file eveything work but the linting in VSCode isn't working
I separated my .svelte, .ts and .scss in 3 distinct file eveything work but the linting in VSCode isn't working
Vscode seems to be weirdly highlighting some of my html elements in .svelte files. this is so distracting its borderline unusable. This seems to be most evident in the button element. Has anyone encountered this before? I currently have 3…
I've created an app using Sveltekit and I want to host it statically on Firebase. My svelte.config.js file is as follows: import adapter from '@sveltejs/adapter-static'; import preprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { kit: { adapter:…
I have created a svelte app and building app using SvelteKit everything is works fine. I tried to deploy this app in firebase hosting but it fails. Sveltekit generating production build under .svelte-kit folder. I tried to change the public…
I am playing around with Firebase and Svelte at the moment and wondering about the best way to set up a Firebase app object that I can use from several components. For example, I have two different components/pages (client side…
I am new to Svelte, and am trying to create a login page to an API. The API takes a username and password and returns an Authorization header. I see the authorization header in the F12 developer console, and I…
I want to use Svelte in my next project, due to its clean syntax and how nice is to work in it. Unfortunately, to deploy the app in my company I can't use node or anything like that on the…
I just got started with svelte and was trying to make an app with redis as the db. I made a typescript file with all the db functions I would need and tried to import it into my svelte components,…
I have a svelte kit project. I want to deploy the app in an Nginx web server after an npm run build. At the moment I have a node container and I use to start using npm run preview. It'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 information updates only around an hour or so, I would like to cache the…