Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlink routes aren't working #5

Closed
oneezy opened this issue Aug 26, 2022 · 3 comments
Closed

Symlink routes aren't working #5

oneezy opened this issue Aug 26, 2022 · 3 comments

Comments

@oneezy
Copy link
Owner

oneezy commented Aug 26, 2022

A new bug was introduced in 1.0.0-next.432 of SvelteKit

See SvelteKit Issue #6303

Reproduction

1.0.0-next.432 (broke)
https://github.com/oneezy/sveltekit-symlink-repro-next-432

1.0.0-next.431 (working)
https://github.com/oneezy/sveltekit-symlink-repro-next-431


image

@myhrmans
Copy link

myhrmans commented Sep 1, 2022

Is this what is causing also the icons and different things not to load properly when only starting the docs app?

@oneezy
Copy link
Owner Author

oneezy commented Sep 4, 2022

yes i believe so @myhrmans , that's why some of the icons/ images won't work when only running one app at a time
i.e.

pnpm dev --filter @apps/docs

this monorepo only uses one folder for static assets which is located at ./apps/site/static so in order to get images working in all apps you'd need to symlink that static folder into every new app that's added to the apps/* folder.

I added a section in the README that explains where and when to use symlinks if you'd like to check it out.


unfortunately none of that will work until sveltekit issue #6303 is resolved.

@oneezy
Copy link
Owner Author

oneezy commented Nov 20, 2022

This is fixed

@oneezy oneezy closed this as completed Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants