create-react-app latest version code example
Example 1: yarn create react app
// Go into the folder where you wish to create your app
yarn create react-app appname
Example 2: create a new project with create-react-app
npx create-react-app project-name
Example 3: npm create react app
npx --ignore-existing create-react-app .
Example 4: create-react-app version check
{
...
...
...
"name": "react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
...
...
...
}