Skip to content

Conversation

@infomiho
Copy link
Member

@infomiho infomiho commented Dec 3, 2025

This PR is not for reviewing. It might serve for discussion later on.

What was done:

  • Generates the routes in user-land in router.generated.tsx
  • Uses the generated routes in the getWaspApp helper that returns the WaspApp component that needs to be mounted in the index.tsx
  • Alongside the routes changes, we also import the app.client.rootComponent and the app.client.setupFn directly in index.tsx

Part of #3135 #3472

@infomiho infomiho changed the title Vite userland generated routes Generating routes for user-land Vite in user's dir Dec 3, 2025
@infomiho infomiho marked this pull request as draft December 4, 2025 13:04
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

Successfully merging this pull request may close these issues.

2 participants