react JS quick start
parent
ed12924535
commit
cf1303db13
@ -0,0 +1,5 @@
|
|||||||
|
# NextJS
|
||||||
|
|
||||||
|
[Home](../../README.md)
|
||||||
|
|
||||||
|
[Reference](https://nextjs.org/learn/basics/create-nextjs-app)
|
||||||
@ -1,11 +1,62 @@
|
|||||||
# React JS
|
# React JS
|
||||||
|
|
||||||
|
[Home](../../README.md)
|
||||||
|
|
||||||
|
[Reference](https://reactjs.org/docs/create-a-new-react-app.html)
|
||||||
|
|
||||||
Bootstrapping a project
|
Bootstrapping a project
|
||||||
|
|
||||||
```shell
|
```sh
|
||||||
npm install
|
$ npx create-react-app myapp
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Project structure
|
||||||
|
|
||||||
|
```sh
|
||||||
|
C:.
|
||||||
|
| .eslintcache
|
||||||
|
| .gitignore
|
||||||
|
| package-lock.json
|
||||||
|
| package.json
|
||||||
|
| README.md
|
||||||
|
|
|
||||||
|
+---public
|
||||||
|
| favicon.ico
|
||||||
|
| index.html
|
||||||
|
| logo192.png
|
||||||
|
| logo512.png
|
||||||
|
| manifest.json
|
||||||
|
| robots.txt
|
||||||
|
|
|
||||||
|
\---src
|
||||||
|
App.css
|
||||||
|
App.js
|
||||||
|
App.test.js
|
||||||
|
index.css
|
||||||
|
index.js
|
||||||
|
logo.svg
|
||||||
|
reportWebVitals.js
|
||||||
|
setupTests.js
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Run the server
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ cd myapp
|
||||||
|
$ npm start
|
||||||
|
|
||||||
|
Compiled successfully!
|
||||||
|
|
||||||
|
You can now view myapp in the browser.
|
||||||
|
|
||||||
npx create-react-app <projectname>
|
Local: http://localhost:3000
|
||||||
|
On Your Network: http://192.168.0.132:3000
|
||||||
|
|
||||||
|
Note that the development build is not optimized.
|
||||||
|
To create a production build, use npm run build.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Browse [localhost](http://localhost:3000). React logo will be displayed
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
# Vue JS
|
||||||
|
|
||||||
|
[Home](../../README.md)
|
||||||
|
|
||||||
|
[Reference](https://vuejs.org/)
|
||||||
Loading…
Reference in New Issue