Read this in other languages: English, French.
Take a look in Branch
of this repo for see others version [pixijs or Vanilla]
Boilerplate for start multi desktop App development using SnowPack and react.
- SnowPack Bundlers (crazy 25ms bundlers)!
- Builds for all majors Browsers (Chrome, Edge, FireFox...)
- Builds for all majors Desktops achhitectures (x86, x64, Windows, OSX, Linux...)
- HOT && HMR reloading of browser and desktop (Nwjs, React)
- Node.js (Native with NW.js)
- Live debug in Vscode with
--remote-debugging-port=9222
- Install Node.js and npm
- Download, clone, or fork this repo
- Run
npm install
ornpm i
in the folder of this repo.
- Desktop App: Dev for desktop only (nwjs+nodejs)
npm run start-nw
- Web App: Dev for web only (wihout nwjs+nodejs)
npm start-web
- Web &Desktop App: Dev both web and desktop
npm run start
- Web & Desktop App: Build final app for all browsers and desktop
npm run build
- Desktop App: Build final app for desktop (x64, x86, Windows, Linux, OSX)
npm run build-nw
- Web App: Build final app for all browsers only
npm run build-web
npm run build-web
will build in distnpm run build-nw
willbuild-web
indist
than build destop inbuild
folder.src
folder is where you code your app- Nwjs will be installed locally in
node_modules
- Nwjs will cache download & SDK in
node_module
package.json
inside./public
, is where you setting your final build.package.json
insideroot
, is where you setting nwjs for dev.