Building svelte app as a set of static files – Nginx
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 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…
I am using SvelteKit and, for SEO reasons, I would like to use full SSR and to ensure that all data is fetched and rendered server-side before being delivered to the browser. In other words, all calls to the back-end…
I want my Svelte SPA to interact with some data from a DB. For this, I used Sapper, so I can open the connection to DB in the server.js, and listen to it through its pub/sub mechanism. How can I…
I've decided try out Svelte for my next website, and this will be a static website hosted using GitLab pages. I got the basic compilation working which generates dist/bundle.js and dist/bundle.css. The issue is that I cannot upload this dist…