Get empty page when trying to use the starter with Solid.js Vite project #943
-
Describe the bug Hey, thanks for creating this repo, looks incredibly promising. However I am getting an issue trying to make it work with Solid.js I cloned the starter code into my project: https://github.com/learn-anything/learn-anything under the folder What I did was replace the https://github.com/learn-anything/learn-anything/tree/main/app/packages/renderer With contents of this vite project: https://stackblitz.com/edit/vitejs-vite-dxfeub?file=index.html&terminal=dev It's official Vite project for Solid (framework I want to use). However if I run:
It will show empty screen. And I don't get how I can set it up properly. I think it's due to missing proper vite config in renderer. I just don't know how to set it up. Would really love any help on this. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Also the way my project is setup is that it is using Solid Start code that is found here: https://github.com/learn-anything/learn-anything/tree/main/src But with the way this starter is setup, it wants the code to be in the packages/renderer it seems. Is there a way to make it possible so I get the same structure but And the I need to somehow make the |
Beta Was this translation helpful? Give feedback.
-
Ok I tried to do this vite config: https://github.com/learn-anything/learn-anything/blob/main/app/packages/renderer/vite.config.ts Now I get this error: Don't get why. |
Beta Was this translation helpful? Give feedback.
-
Ok I am trying now to connect the vite-electron-builder so it uses this folder as https://github.com/learn-anything/learn-anything/tree/main/src I need to do this change I think And I think thats it? Based of global search of references. 🤔 |
Beta Was this translation helpful? Give feedback.
-
Oh and this I think Not sure if I can do above though. |
Beta Was this translation helpful? Give feedback.
-
Yea getting this error now Okay this is really tricky. Changed it to Now it finds the config but fails on something else. |
Beta Was this translation helpful? Give feedback.
-
Solution was to move |
Beta Was this translation helpful? Give feedback.
Solution was to move
tailwind.config.cjs
from root toapp
folder.