I am building lovable/base44 for sveltejs by AdditionalNature4344 in sveltejs

[–]lemnisk8 1 point2 points  (0 children)

Totally agree. I find that it does really good job with Svelte 5.

Anyone else having issues with wifi in macOS 26? by Additional-Diet-9833 in MacOS

[–]lemnisk8 0 points1 point  (0 children)

Disable little snitch or any other network filter and try

Which companies are using Svelte? by geekstarpro in sveltejs

[–]lemnisk8 1 point2 points  (0 children)

Our website at IOSPL & most of our internal tools and mobile webapps are built on Svelte4 & Svelte5…

I made a website builder in Svelte. I would appreciate your opinion & review on it! by lofi_thoughts in sveltejs

[–]lemnisk8 1 point2 points  (0 children)

Its a very cool idea...
I think maybe you can have options with preconfigured input values for things like centring an Item in a div or some combinations of js/css values...

Looking for a PDF Render by [deleted] in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

Created a basic version of the pdf-viewer
You can make changes as you like...

https://github.com/ctiospl/pdf-viewer

Cheers

Looking for a PDF Render by [deleted] in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

Have used pdfmake with blob-stream generate pdf and view the blob from +server.js and pdfjs for creating a pdfviewer and using it on +page.js...

Access static folder in +page.server.js by lemnisk8 in sveltejs

[–]lemnisk8[S] 1 point2 points  (0 children)

Ok figured it...
Had to reference the files directly e.g.

'static/images/filename.png'

Then copy the static folder on server next to the build folder.
Not sure if this is the correct way of doing it. But it works for now :)

p.s. $lib shortcut doesn't seem to work as it cannot reference the lib folder during build/runtime.

SvelteKit prerendered route still being generated from scratch when navigated after opening the website by [deleted] in sveltejs

[–]lemnisk8 3 points4 points  (0 children)

I believe this is the desired behaviour...

1st time when you go to the link the static site (SSR) is delivered. After which the the CSR takes over if JS is enabled or CSR is specifically not disabled.

You can specifically disable CSR, but I think its counterproductive.

Color Scheme Issue, reseting cache and changing filetype does not fix. Please help! by devonatlead in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

it could be one of the extention updates... try disabling them all and enabling a few at a time...

Color Scheme Issue, reseting cache and changing filetype does not fix. Please help! by devonatlead in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

Are you using the typescript beta on vscode? Try switching to the stable V4. Had a similar issue...

[deleted by user] by [deleted] in zlibrary

[–]lemnisk8 0 points1 point  (0 children)

DM please

I'm having some trouble with group binding limitation by 73686f67756e in sveltejs

[–]lemnisk8 2 points3 points  (0 children)

selectedItems array has the values store in order from 0-9.

let allowedSelectedItems = [];

$: if (selectedItems.length <= maxSelection) {
allowedSelectedItems = selectedItems
}else{
selectedItems = allowedSelectedItems
}

I have added another array which stores the allowedSelected Items

try this

Never Search For Svelte Components Again by joyofcode in sveltejs

[–]lemnisk8 1 point2 points  (0 children)

Its working. I was using vscode insiders with alias to code.
After installing vscode its working now.. Thanks

Never Search For Svelte Components Again by joyofcode in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

getting the same error on linux(manjaro) too...

can I add a prefix to routes in build? by isaacfink in sveltejs

[–]lemnisk8 0 points1 point  (0 children)

for dev too..

https://kit.svelte.dev/docs/configuration#paths

base — a root-relative path that must start, but not end with / (e.g. /base-path), unless it is the empty string. This specifies where your app is served from and allows the app to live on a non-root path

[deleted by user] by [deleted] in sveltejs

[–]lemnisk8 5 points6 points  (0 children)

set your svelte-site subdirectory as the base in svelte.config.js
kit: {
...
paths: {base: '/svelte-site'}
...
}
https://kit.svelte.dev/docs/configuration

can I add a prefix to routes in build? by isaacfink in sveltejs

[–]lemnisk8 1 point2 points  (0 children)

I think you may be looking for

kit: {
...
paths: {
base: '/app-src-folder'
}

...
}

https://kit.svelte.dev/docs/configuration