Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daveinchy/native-desktop-template
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.
https://github.com/daveinchy/native-desktop-template
application desktop development electronjs eslint mobile postcss prettier-eslint react-native reactjs tailwindcss template webpack
Last synced: 6 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/daveinchy/native-desktop-template
- Owner: DaveInchy
- Created: 2022-08-03T14:16:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T15:36:55.000Z (about 2 years ago)
- Last Synced: 2023-03-16T14:22:05.465Z (over 1 year ago)
- Topics: application, desktop, development, electronjs, eslint, mobile, postcss, prettier-eslint, react-native, reactjs, tailwindcss, template, webpack
- Language: JavaScript
- Homepage:
- Size: 8.71 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# >_ 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]('https://github.com/DaveInchy/tailwind-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`