<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dattatray Bodake</title>
    <description>The latest articles on DEV Community by Dattatray Bodake (@dattatraybodake).</description>
    <link>https://dev.to/dattatraybodake</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3317187%2Fb7bc7f1d-575d-4f52-801e-77b236d5efbf.jpg</url>
      <title>DEV Community: Dattatray Bodake</title>
      <link>https://dev.to/dattatraybodake</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dattatraybodake"/>
    <language>en</language>
    <item>
      <title>How to Create a React + Vite Application Using Command Prompt</title>
      <dc:creator>Dattatray Bodake</dc:creator>
      <pubDate>Fri, 25 Jul 2025 11:14:01 +0000</pubDate>
      <link>https://dev.to/dattatraybodake/how-to-create-a-react-vite-application-using-command-prompt-4fpg</link>
      <guid>https://dev.to/dattatraybodake/how-to-create-a-react-vite-application-using-command-prompt-4fpg</guid>
      <description>&lt;p&gt;Follow these steps to set up a React project using Vite via Command Prompt:&lt;/p&gt;

&lt;p&gt;Step 1: Set Up the Project Directory&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a new folder where you want to build your React project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open the newly created folder and copy the folder path.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open Command Prompt.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to the folder using the cd command:&lt;br&gt;
 cd &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Example:&lt;br&gt;
 cd C:\Users\YourName\Documents\ReactProjects\MyApp&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 2: Create the React + Vite Project&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run the following command to create a new Vite project:&lt;br&gt;
 npm create vite@latest&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When prompted with ✔ Ok to proceed? (y), press y and hit Enter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enter your project name (instead of the default vite-project) and press Enter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From the framework list, select React, then press Enter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From the variant list, choose JavaScript, and press Enter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The React + Vite project will be created successfully.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 3: Install Project Dependencies&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate into the newly created project directory:
cd &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example:&lt;br&gt;
cd my-react-app&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run the following command to install npm (if necessary):&lt;br&gt;
npm install -g &lt;a href="mailto:npm@11.2.0"&gt;npm@11.2.0&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install the project dependencies:&lt;br&gt;
npm install&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 4: Run the React Project&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Start the development server:&lt;br&gt;
npm run dev&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After the server starts, copy the local development URL displayed in the terminal (e.g., &lt;a href="http://localhost:5173" rel="noopener noreferrer"&gt;http://localhost:5173&lt;/a&gt;) and paste it into your browser.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 5: View and Customize Your Application&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You should now see the default Vite + React landing page with the logo and a simple counter example.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Customize and design the application according to your needs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>react</category>
      <category>vite</category>
    </item>
  </channel>
</rss>
