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(<h1>Hello React App</h1>, document.getElementById('root'));
3. Finally, compare it with your root directory
'Basic Development > Electron' 카테고리의 다른 글
4. The easy way to create a project (0) | 2023.12.31 |
---|---|
3. Adding webpack-package and practice (0) | 2023.12.31 |
1. Let's Practice through a simple example (Quick start from electron) (0) | 2023.12.31 |
0. What is the Electron? (0) | 2023.12.31 |