---
title: "Comment by Yagnesh Virani on \"Migrating from Create React App (CRA) to Vite\" | Hashnode"
description: "10/10 hearts! Worked flawlessly. Migrated Refine app from CRA to Vite. Updated scripts to - { &quot;start&quot;: &quot;refine run vite&quot;, &quot;build&quot;:"
url: "https://hashnode.com/posts/migrating-from-create-react-app-cra-to-vite/630351878cb53b2c16267c8a/comment/64358fae6699be6a40d4dd0a"
---

[Discussion](https://hashnode.com/posts/migrating-from-create-react-app-cra-to-vite/630351878cb53b2c16267c8a)

Comment [Migrating from Create React App (CRA) to Vite](https://hashnode.com/posts/migrating-from-create-react-app-cra-to-vite/630351878cb53b2c16267c8a)

[Yagnesh Virani](https://hashnode.com/@MrOnline)

[Apr 11, 2023](https://hashnode.com/posts/migrating-from-create-react-app-cra-to-vite/630351878cb53b2c16267c8a/comment/64358fae6699be6a40d4dd0a)

10/10 hearts! Worked flawlessly. Migrated Refine app from CRA to Vite.

Updated scripts to - `{     "start": "refine run vite",     "build": "tsc && refine run vite build",     "serve": "refine run vite preview",     "refine": "refine"   }`

Thereafter `npm start` did show empty white page for a long time but soon after the content displayed
