Is refine bundler agnostic? (e.g. vite)
I see that refine uses Next.js. Is this a requirement, or can I use refine also if I use another bundler and server (e.g. vite)? Thanks!
3 Replies
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: Refine bundler is agnostic and does not require Next.js. It can be used with other bundlers and servers such as Vite. SOURCES: ./docs/getting-started/overview.md, ./docs/examples/next-js/next-js.md, ./docs/getting-started/quickstart.md
Answer: Refine bundler is agnostic and does not require Next.js. It can be used with other bundlers and servers such as Vite. SOURCES: ./docs/getting-started/overview.md, ./docs/examples/next-js/next-js.md, ./docs/getting-started/quickstart.md
Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
conscious-sapphire•2y ago
Hello @limikael, we support NextJS and Remix, and also CRA, but we have plan to use Vite instead of CRA while bootstrapping a new app. https://github.com/refinedev/refine/issues/3659
GitHub
[FEAT] Use Vite instead of Create React App for demos and cli scaff...
Is your feature request related to a problem? Please describe. Create React App is not actively maintained and it has some issues. Here are some more reasons to use Vite instead of CRA: reactjs/rea...
conscious-sapphire•2y ago
Btw, forgot to mention, we also have vite example: https://github.com/refinedev/refine/tree/next/examples/with-vite
GitHub
refine/examples/with-vite at next · refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/examples/with-vite at next · refinedev/refine