extended-yellow
extended-yellow2mo ago

About Create New Project

when using about CLI for create new project and current version but when i choose select about framework not has only two chiose between Vite and NextJs but i just want only react refine how about it ? Thank for read
5 Replies
kapa.ai
kapa.ai2mo ago
Hi @᲼. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I understand your question about creating a new Refine project using the CLI. Let me clarify the current options for you based on the available information. According to the Refine documentation (https://refine.dev/docs/getting-started/quickstart/), the current version of the Refine CLI (create refine-app) offers more than just Vite and Next.js as options. The CLI actually provides three main React platform choices: 1. Vite 2. Next.js 3. Remix If you're looking for a plain React setup with Refine, the Vite option is likely what you're looking for. Vite is a build tool that provides a faster and leaner development experience for modern web projects, including React applications. When you run the CLI command:
npm create refine-app@latest
npm create refine-app@latest
You should be prompted to choose a project template. The "Refine(Vite)" option will give you a React-based Refine application using Vite as the build tool. If you're not seeing these options or if the CLI behavior has changed, it might be worth checking if you have the latest version of the Refine CLI installed. You can also try using the browser-based scaffolder (https://refine.dev/docs/getting-started/quickstart/#using-browser) as an alternative, which offers similar options for creating a new Refine project. If you're still experiencing issues or not seeing the options you expect, it might be helpful to check the Refine documentation or reach out to their support channels for the most up-to-date information on project creation options. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@272684600247975937> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
extended-yellow
extended-yellowOP2mo ago
how about pure react-script ? @kapa.ai how about CRA ??? is disapear
kapa.ai
kapa.ai2mo ago
Let me check the knowledge base for you again. One moment! :books: ---------------------- You're correct to notice that Create React App (CRA) is no longer listed as an option for creating new Refine projects. Let me explain the current situation based on the information provided in the knowledge sources. According to the Refine documentation (https://refine.dev/docs/getting-started/quickstart/), Refine now recommends using Vite instead of Create React App (CRA) for new projects. This change is in line with the React team's recommendations, as CRA is no longer actively maintained. The Refine blog post (https://refine.dev/blog/react-admin-vs-refine/#refine-app-scaffolder-simplify-your-project-setup) mentions that the current options for creating a new Refine application include: 1. Vite.js 2. Next.js 3. Remix This change was implemented in response to the React community's shift away from CRA. As stated in a GitHub issue (https://github.com/refinedev/refine/issues/4331), the Refine team updated their documentation and tools to reflect this change, removing CRA as a recommended option. If you're looking for a similar development experience to CRA but with modern tooling, Vite is now the recommended choice. It provides a faster and more efficient development environment for React applications. For those who still need to work with CRA-based projects, it's worth noting that while it's no longer recommended for new projects, existing CRA projects are still supported. However, for new Refine applications, it's best to choose one of the currently supported options (Vite, Next.js, or Remix) to ensure you're using actively maintained and recommended tooling. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@272684600247975937> Kapa.ai is still learning and improving, please let me know how I did by reacting below.

Did you find this page helpful?