master
Atul R 5 years ago
parent de710fa74e
commit e2689de1a5
  1. 12
      README.md
  2. 10
      package-lock.json
  3. 4
      package.json
  4. 2
      src/index.tsx

@ -1,6 +1,6 @@
# react-desktop-starter # react-nodegui-starter
**Clone and run for a quick way to see NodeGUI React Desktop in action.** **Clone and run for a quick way to see React NodeGUI in action.**
## To Use ## To Use
@ -8,18 +8,18 @@ To clone and run this repository you'll need [Git](https://git-scm.com) and [Nod
```bash ```bash
# Clone this repository # Clone this repository
git clone https://github.com/nodegui/react-desktop-starter git clone https://github.com/nodegui/react-nodegui-starter
# Go into the repository # Go into the repository
cd react-desktop-starter cd react-nodegui-starter
# Install dependencies # Install dependencies
npm install npm install
# Run the app # Run the app
npm start npm start
``` ```
## Resources for Learning NodeGUI/React Desktop ## Resources for Learning NodeGUI/React NodeGUI
- [nodegui.github.io/nodegui](https://nodegui.github.io/nodegui) - all of NodeGui and React Desktop's documentation - [nodegui.github.io/nodegui](https://nodegui.github.io/nodegui) - all of NodeGui and React NodeGUI's documentation
## License ## License

10
package-lock.json generated

@ -1,5 +1,5 @@
{ {
"name": "react-desktop-starter", "name": "react-nodegui-starter",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
@ -29,10 +29,10 @@
"progress": "^2.0.3" "progress": "^2.0.3"
} }
}, },
"@nodegui/react-desktop": { "@nodegui/react-nodegui": {
"version": "0.1.2", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/@nodegui/react-desktop/-/react-desktop-0.1.2.tgz", "resolved": "https://registry.npmjs.org/@nodegui/react-nodegui/-/react-nodegui-0.1.1.tgz",
"integrity": "sha512-NLPjw3klPbslKXS2SyGEcsSwa9uazevAsP7nBxdSaf3kmpzJ3MQCG7tQFMx3/06K6I5qjMbqocdesJgulsZrYg==", "integrity": "sha512-BRm6jMO2CvT9g8vOiZMzxFA5si+ADIE7Fxlr8JGQ4GHO/Tk3DVbOOewcUIo/iy4XBjAehKGAdrPObtaolH0Mtw==",
"requires": { "requires": {
"react-reconciler": "^0.20.4" "react-reconciler": "^0.20.4"
} }

@ -1,5 +1,5 @@
{ {
"name": "react-desktop-starter", "name": "react-nodegui-starter",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"author": "Atul R <atulanand94@gmail.com>", "author": "Atul R <atulanand94@gmail.com>",
@ -10,7 +10,7 @@
}, },
"dependencies": { "dependencies": {
"@nodegui/nodegui": "^0.1.1", "@nodegui/nodegui": "^0.1.1",
"@nodegui/react-desktop": "^0.1.2", "@nodegui/react-nodegui": "^0.1.1",
"react": "^16.9.0" "react": "^16.9.0"
}, },
"devDependencies": { "devDependencies": {

@ -6,7 +6,7 @@ import {
Window, Window,
Image, Image,
useEventHandler useEventHandler
} from "@nodegui/react-desktop"; } from "@nodegui/react-nodegui";
import React, { useState } from "react"; import React, { useState } from "react";
import path from "path"; import path from "path";
import { AspectRatioMode } from "@nodegui/nodegui"; import { AspectRatioMode } from "@nodegui/nodegui";

Loading…
Cancel
Save