React :
nodejs
npm
, ( , Ubuntu)
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
js:
npx create-react-app my-DemoApp
:
cd my-DemoApp
,
my-DemoApp
├── README.md
├── package.json
├── .gitignore
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── logo.svg
└── serviceWorker.js
, -, :
npm install
: node_modules
:
npm start
And now you are done with the most basic setup, now the application is ready.
You can also add an additional library, which is required for the application on npm
source
share