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

How to share code with web app? #245

Open
vincenzoml opened this issue Jun 17, 2024 · 2 comments
Open

How to share code with web app? #245

vincenzoml opened this issue Jun 17, 2024 · 2 comments

Comments

@vincenzoml
Copy link

I want to be able to serve my sveltekit/vite app both from a web server and from electron. I've scaffolded my project using electron-vite, so my fronted sources are in src/renderer. How to serve them using vite dev? I get an empty page if I serve it from the repository root, and if I change the vite root to src/renderer, then imports don't work since there's no package.json and node_modules there.

@yejimeiming
Copy link
Contributor

Is anyone willing to pay a fee for this?

@rafaellehmkuhl
Copy link

We are doing this with our Vue app. Maybe there's something there that can help you.

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

3 participants