1 Introduction
Yarn is a more advanced package management tool than npm;
2 Introduction to commonly used yarn commands
2.1 yarn dev-start the program in development mode
In electron-react-boilerplate, we will use yarn dev to start the program for development;
Yarn dev will execute the script in the "dev" field in package.json to start the program, as shown in the figure: