BoilerPlate start fast application with pixijs,react,nwjs
- React FrontEnd (Framework HTML)
- PixiJS BackEnd (Library bridge between WebGL and GPU)
- Parcel Bundlers (almost no config)
- RES (react-easy-state) stores (instead of Redux)
- UI toolkit AntDesign MaterialUI, BluePrintJS (treeShaking)
- WebXR backend API (browser and nwjs) with fallback polyfill
- Builds for all majors Browsers (Chrome,Edge,FireFox...)
- Builds for all majors Desktops achhitectures ([x86,x64],Win,Osx,Linux...)
- HotReload browser and desktop (nwjs)
- NodeJS (Native with nwjs)
- Include Plugins inspector config: PIXIDEVTOOL, REACTDEVTOOL, SPECTORJS
- PreConfig for Babel, esLint, Less, Prettier
- PreConfig for VsCode live debbugger (remote,hotreload,nwjs)
npm i nw-parcel-hmr-boilerplate
# clone the repo.
git clone --depth 1 https://github.com/djmisterjon/nw-parcel-hmr-boilerplate.git
# set change directory to repo
cd nw-parcel-hmr-boilerplate
# install the dependencies via npm
npm i
- developpement will bundle app in
dist
folder. - production will bundle app in
build
folder.
- Start dev servor for browser dev
npm start
- Build final app for browser
npm run build
- Start dev servor for desktop (nwjs)
npm run start-nw
- Build final app for desktop ([x64,x86],Win,Osx,Linux)
npm run build-nw
src
folder is where code your app.- NwJS is install locally in
node_modules
, but your can install globally. package.nwjs.json
is where setup the desktop developpement and build.index.less
is parent for import all css.res
folder is where put images,files....index.store.jsx
Is the Parent global stores for React.backend
folder is where pixijs,webxr,... run.