@quickDoc
@Directory and their shared responsibilities
- .git -> version control system
- .sourcemaps -> contains map files.
- node_modules -> Required modules to run the app.
- resources -> Android and IOS required resource files.
- src -> Application code.
- www -> Destination folder | build folder. contains build Application
- node ~8.9.4 and npm ~5.6.*
- ionic 3.*
- cordova-cli
- Download node or brew install node.
- Go to the app directory.
- Run -
npm install
- Run -
ionic serve
orionic lab
(Application will be hosted at http://locahlhost:8100/ionic-lab )
./src/app/app.module.ts
is where app registers modules../src/app/app.component.ts
is app entry point.
- Whole app is written on top of
StorageProvider<class>
exsists at./src/providers/storage/storage.ts
. - Pages are visual components with :
- Controller :
[name].ts
- Style :
[name].scss
- UI/UX :
[name].html
- Controller :
app.module.ts
registers modules, components, pages and providers.- The non-commented files are ** boiler plate ** Generated through commands provided by
ionic
orcordova
. - Ionic Native or Ionic component used in this application can be found at https://ionicframework.com/docs/