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

Plugin for vike? #275

Closed
thomasjm opened this issue Oct 2, 2023 · 3 comments
Closed

Plugin for vike? #275

thomasjm opened this issue Oct 2, 2023 · 3 comments
Labels
feature request Feature request

Comments

@thomasjm
Copy link
Contributor

thomasjm commented Oct 2, 2023

Vike is a plugin for Vite which provides an improved SSR experience. It provides filesystem routing, where you create files like pages/login.tsx, which will then be available as /login. The details are described here.

I think a Vike plugin would be useful, to automatically add all the pages as entry points for knip.

@thomasjm thomasjm added the feature request Feature request label Oct 2, 2023
@webpro
Copy link
Collaborator

webpro commented Oct 3, 2023

Interesting! Didn't know they renamed vite-plugin-ssr to Vike.

Maybe you're up for a pull request and write a plugin? Sounds like there are similar plugins, like the ones for Next or Remix.

@thomasjm
Copy link
Contributor Author

thomasjm commented Oct 5, 2023

I probably won't have time, but it does look pretty straightforward. Maybe there's some complexity if Vike's more advanced routing configuration is used.

@webpro
Copy link
Collaborator

webpro commented Jan 29, 2024

Moved.

@webpro webpro closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants