Skip to content

non create-react-app but React Native desktop application template, all configurations done from scratch so its very customizable. This is a stable release! maybe update webpack-cli package if not working.

Notifications You must be signed in to change notification settings

DaveInchy/native-desktop-template

Repository files navigation

>_ native-desktop-template

This is a template for a native app, it uses electron for desktop functionality and uses webpack + create-react-app to handle compiling to Android & iOS. It is intended to be used with a create-react-app example project... Make sure to export your original "create react app template" into the src/ folder and copy every static file to the public/ folder.



>_ Installing

To install the whole source code, run the following command:

$ npm run setup

>_ Running

$ npm run dev <-- A Development setup
$ npm run start
$ npm run test
$ npm run eject
$ npm run build
$ npm run build:dev
$ npm run build:prod
$ npm run build:react
$ npm run build:electron
$ npm run build:windows
$ npm run electron:start
$ npm run eslint:start
$ npm run eslint:fix
$ npm run format:fix
$ npm run format:start
# ----------------------------- #
Are you sure to continue? [y/n] |
>_ maybe?                       |

>_ Configuration

  • Setup by Webpack & Babel -> webpack.config.js
  • Design by TailwindCSS -> tailwind.config.js
  • Desktop by Electron -> public/electron.js
  • Mobile by React Native -> src/index.js

About

non create-react-app but React Native desktop application template, all configurations done from scratch so its very customizable. This is a stable release! maybe update webpack-cli package if not working.

Topics

Resources

Stars

Watchers

Forks