User Tools

Site Tools


reactjs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reactjs [2022/07/12 19:29] – [Videos] smicksterreactjs [2022/07/19 14:14] (current) – [Videos] smickster
Line 23: Line 23:
   * type npm start  in terminal   * type npm start  in terminal
   * Browser will launch automatically   * Browser will launch automatically
 +
 +Open VS Code
 +  * Open extensions panel
 +  * Search for Simple React Snippets, install
 +  * Search for "Prettier" and install that
 +  * Restart VS Code so everything full installed
 +  * File > Preferences > Settings > Format > check the box for autoformat on save
 +  * Point VS Code to your new react app so it's a VS Code Project folder
 +  * Open the "Public" folder, notice index.html, look in the body section for the div called "root" that is where the react app gets displayed
 +  * Open the src folder and look at the app.js file. That is the actual react app for the demo page
reactjs.1657654140.txt.gz · Last modified: by smickster

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki