Skip to content

acupy/bookz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React App

Start React app

npm start

Starts the regular create-react-app on localhost:3000/

Build for React app

npm run build

Builds production build for react app. I use serve to run this production build.

Cordova App

Build for Cordova app

npm run build:cordova

builds the app by appending tags to index.html which will be needed for cordova builds

Browser Platform

Add Browser platform

cordova platform add browser

Browser Build

cordova browser build

Note: This build needs www directory which is created from npm run build:cordova

Run in Browser

cordova run browser

Runs the browser build in browser at localhost:8000

Other Platforms

Commands will be similar to as browser platform. cordova platforms guide.