Skip to content

Mash19/ionic-themeroller-sample

This branch is 10 commits behind itsmebhavin/ionic-themeroller-sample:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Michael Ash
Sep 12, 2018
d792d45 · Sep 12, 2018

History

22 Commits
Aug 29, 2018
Sep 10, 2018
Aug 24, 2018
Aug 29, 2018
Aug 29, 2018
Sep 12, 2018
Aug 24, 2018
Sep 10, 2018
Sep 10, 2018
Sep 10, 2018
Sep 12, 2018
Aug 29, 2018
Sep 10, 2018
Sep 12, 2018
Sep 12, 2018
Aug 24, 2018
Aug 24, 2018

Repository files navigation

IONIC Compilation Process

Compiling locally

- npm install
- npm run build
- ionic serve -c
- [This should run localhost]

Capacitor Compilation Process

Compiling PWA

- npm install --save @capacitor/core @capacitor/cli
- npx cap init
- npm run build / ionic build
- [make sure in angular.json file, outputPath = "www"]
- [make sure in capacitor.config.json file, webDir = "www"]
- [make sure in capacitor.config.json file, bundledWebRuntime = "false"]
- npx cap web
- npx cap copy web
- npx cap serve

Compiling iOS

- npx cap add ios
- npx cap copy ios
- npx cap open ios

Compiling Android

- npx cap add android
- npx cap copy android
- npx cap open android

Compiling electron

- npx cap add electron
- npx cap copy electron
- cd electron
- npm run electron:start

Commands to remember for later use

- $ npx cap copy
- $ npx cap open
- $ npx cap serve
- [for progressive web apps]
- $ npx cap update
- $ npm install really-cool-plugin
- $ npx cap update // after plugin install
- $ npx cap sync
Author

[This is a sample code from referring multiple articles from various forums.]

About

ionic4 based sample app in angular6 - Theme Roller task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Other 1.4%