refine icon indicating copy to clipboard operation
refine copied to clipboard

[FEAT] Vite support on Remix experimental

Open kalib-code opened this issue 1 year ago • 5 comments

Describe the bug

Trying to use remix in vite support experimental link and refine giving issue on [vite] Error when evaluating SSR module /app/root.tsx: failed to import "@refinedev/remix-router"

Steps To Reproduce

create remix on vite using it docs and manually add refine base on the instruction docs based

Expected behavior

refine should be working and no issue

Screenshot

No response

Desktop

No response

Mobile

No response

Additional Context

I know its remix support is experimental but it no hurt if we could support it in early stage thanks

kalib-code avatar Nov 01 '23 01:11 kalib-code

Hey, Thank you very much for your interest. We don't think that the core team needs to put effort into this phase. However, if the community wants to work on it, we would be happy to support it.

omeraplak avatar Nov 02 '23 11:11 omeraplak

@omeraplak the Remix Vite plugin is now stable, shipped in Remix v2.8. Is now a better time to look at this?

I'm trying to merge Express and Remix projects into one but since Refine controls the build scripts making changes would require patching the packages

cbnsndwch avatar Mar 07 '24 11:03 cbnsndwch

@omeraplak the Remix Vite plugin is now stable, shipped in Remix v2.8. Is now a better time to look at this?

I'm trying to merge Express and Remix projects into one but since Refine controls the build scripts making changes would require patching the packages

Hey, thanks for the update. I'll discuss the Remix Vite support with the core team.

But for now, to help you, by 'refine controls the build script', do you mean these commands? https://refine.dev/docs/packages/cli/#dev-start-build If so, you can alternatively use the command 'npm run refine run {CUSTOM_BIN} start' (https://refine.dev/docs/packages/cli/#run)

omeraplak avatar Mar 07 '24 11:03 omeraplak

Thanks! I'll give that a try!

cbnsndwch avatar Mar 07 '24 12:03 cbnsndwch

see https://github.com/refinedev/refine/issues/5734

These issues have been dug into, and hopefully, all problems have been solved, including the remix-router package.

pcfreak30 avatar Mar 08 '24 12:03 pcfreak30