bluwy / create-vite-extra

Extra Vite templates
MIT License
370 stars 55 forks source link

Add Remix Template with Vite Support for Node/Deno Environments #40

Closed roonie007 closed 8 months ago

roonie007 commented 9 months ago

Remix now works with Vite (since version 2.2.0, see here). Can we add a Remix template for Node.js and Deno projects that use Vite? This would help people start new projects more easily.

bluwy commented 8 months ago

I'm happy to add Remix templates, however it seems like they're maintaining it at remix-run/remix/templates/unstable-vite, e.g. this is what they recommend currently (https://remix.run/docs/en/main/future/vite#getting-started):

npx create-remix@latest --template remix-run/remix/templates/unstable-vite

To avoid duplicating work and potentially containing outdated template (especially that the Vite version is still actively developed), I think it's better to keep to create-remix for now. In the long term, I think create-remix can also be linked from create-vite as well, same as how create-vue and create-svelte exists there today.