<?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: Ameya Lambat</title>
    <description>The latest articles on DEV Community by Ameya Lambat (@ameyalambat128).</description>
    <link>https://dev.to/ameyalambat128</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1020494%2F94ea73b8-be97-4ca2-b0fd-1bacfa2676d7.jpeg</url>
      <title>DEV Community: Ameya Lambat</title>
      <link>https://dev.to/ameyalambat128</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ameyalambat128"/>
    <language>en</language>
    <item>
      <title>Create a React App</title>
      <dc:creator>Ameya Lambat</dc:creator>
      <pubDate>Sat, 04 Feb 2023 19:34:56 +0000</pubDate>
      <link>https://dev.to/ameyalambat128/create-a-react-app-h67</link>
      <guid>https://dev.to/ameyalambat128/create-a-react-app-h67</guid>
      <description>&lt;p&gt;React is an open-source front-end JavaScript library for building user interfaces based on UI components. &lt;/p&gt;

&lt;p&gt;There are many ways to create a new React App, but in my opinion using Vite is currently the best way to do it.&lt;/p&gt;

&lt;p&gt;First step is to download the LTS version &lt;a href="https://nodejs.org/en/" rel="noopener noreferrer"&gt;Node.js&lt;/a&gt; from &lt;a href="https://nodejs.org/en/" rel="noopener noreferrer"&gt;https://nodejs.org/en/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdgv5wpx6oitemfkndv32.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdgv5wpx6oitemfkndv32.png" alt="NodejsSS" width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have already done this before you can check your node version in your terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpr7bs2l56xjwfv54xu99.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpr7bs2l56xjwfv54xu99.png" alt="nodeversion" width="800" height="43"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If this is working for y'all we can move on to using Vite!&lt;/p&gt;

&lt;p&gt;First run the command below and follow the prompts&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm create vite@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is roughly what it should look like&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffr3uwp4ciirk015i56go.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffr3uwp4ciirk015i56go.png" alt="vitecli" width="800" height="209"&gt;&lt;/a&gt;&lt;br&gt;
You have successfully created a React app. Now let's test it by running the following commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd &amp;lt;Your-Project-Name&amp;gt;
npm install 
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After running these in your terminal, open the localhost link in your browser and you should see your React-Vite app running!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs0ts8xc893kutjx1muf6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs0ts8xc893kutjx1muf6.png" alt="preview" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you liked this post and learned how to create your first React-Vite App!&lt;/p&gt;

</description>
      <category>devrel</category>
      <category>community</category>
      <category>offers</category>
    </item>
  </channel>
</rss>
