https://github.com/viewstools/react-yue-app
react-yue-app setup for live reloading and bundling of the app
https://github.com/viewstools/react-yue-app
Last synced: 11 months ago
JSON representation
react-yue-app setup for live reloading and bundling of the app
- Host: GitHub
- URL: https://github.com/viewstools/react-yue-app
- Owner: viewstools
- Created: 2018-06-15T23:39:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T23:40:40.000Z (about 8 years ago)
- Last Synced: 2025-07-02T19:51:52.704Z (12 months ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-yue-app
[react-yue](https://github.com/oyyd/react-yue) is a cross-platform React
renderer to make native apps through [yue](https://github.com/yue/yue).
This app setup showcases live reload in development through rollup + nodemon
and building a binary of your app.
## Setup
Install the dependencies (use either `yarn` or `npm`):
```
npm install
```
```
npm run setup
```
## Develop
Your code starts at `src/index.js` and it's compiled by `rollup.config.js` into
`app.js`.
```
npm run start
```
Your app should open on a new window and every time you change something in `src` it
will be reloaded.
## Build
```
npm run build
```
Your app's binary will be in the `build` folder.
It will build for the platform you're on but [you can configure it to build for
other platforms too](https://github.com/yue/yackage#examples)
License MIT.