How do I upgrade a solid-start project to use the latest version of solid-start
I found a project that uses solid-start and actually has a working PWA. But it is from february 2023 and I want to update it to the newest version of solid-start and its current structure. Is this possible and how? The current version is
^0.2.20
(The repo in question: https://github.com/seeplusplus/solid-start-vite-pwa)3 Replies
pnpm update --latest
Take a look at https://github.com/solidjs/solid-start/discussions/1052
1 . Remove the
solid-start
package and replace with @solidjs/start
2. The main changes are that you need to import stuff from @solidjs/start, @solidjs/meta and @solidjs/router packages, and that you need to update root.tsx
to app.tsx
.
3. The package.json
scripts should also be updated to use vinxi
:
Thank you very much