2. Adding react package and practice 1. Install react package npm install --save react react-dom 2. Make main.js file (through visual code) code src/js/main.js 2.1. And wirte code (below is the example code) import React from 'react'; import ReactDom from 'react-dom'; ReactDom.render(Hello React App, document.getElementById('root')); 3. Finally, compare it with your root directory 2023. 12. 31. 이전 1 다음