-
Notifications
You must be signed in to change notification settings - Fork 335
WIP: feat: add migrating to v2 solid-start guide #1378
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
base: main
Are you sure you want to change the base?
Conversation
|
|
✅ Deploy Preview for solid-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| ```bash | ||
| pnpm remove vinxi | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ```bash | |
| pnpm remove vinxi | |
| ``` | |
| ```package-remove | |
| vinxi | |
| ``` |
In order for this to work you also need to define the remove command in app.config.ts within the packageManagers object.
| import { solidStart } from "@solidjs/start/config"; | ||
| export default defineConfig({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import { solidStart } from "@solidjs/start/config"; | |
| export default defineConfig({ | |
| import { solidStart } from "@solidjs/start/config"; | |
| export default defineConfig({ |
| import { solidStart } from "@solidjs/start/config"; | ||
| export default defineConfig({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import { solidStart } from "@solidjs/start/config"; | |
| export default defineConfig({ | |
| import { solidStart } from "@solidjs/start/config"; | |
| export default defineConfig({ |
| **6. Replace all leftover vinxi imports** | ||
|
|
||
| - `useSession` now comes from `@solidjs/start/server` instead of `vinxi/http |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **6. Replace all leftover vinxi imports** | |
| - `useSession` now comes from `@solidjs/start/server` instead of `vinxi/http | |
| **6. Replace all imports from `vinxi/http` with `@solidjs/start/http`** |
It seems that nearly all exports from vinxi/http have been moved to @solidjs/start/http. A few functions are not, but I don't think they are relevant to users.
Description(required)
Related issues & labels