To begin using this template, choose one of the following options to get started:
- Download the latest release here
- Clone the repo:
git clone https://github.com/kristofferandreasen/simple-ionic-3-app.git - Fork the repo
.
├── resources # Build files on the specific platforms (iOS, Android) and app icon + splash
├── src # This is where the app lives - *the main folder*
├── .gitignore # Specifies intentionally untracked files to ignore when using Git
├── .capacitor.config.json # Global configuration for your Ionic app
├── package.json # Dependencies and build scripts
├── readme.md # Project description
├── tsconfig.json # TypeScript configurations
└── .elslintrc.json # TypeScript linting options
.
├── ...
├── src
│ ├── app # This folder contains global modules and styling
│ ├── assets # This folder contains images and the *data.json*
| ├── pages # Contains all the individual pages (home, tabs, category, list, single-item)
| ├── services # Contains the item-api service that retrieves data from the JSON file
| ├── theme # The global SCSS variables to use throughout the app
| ├── declarations.d.ts # A config file to make TypeScript objects available in intellisense
| ├── index.html # The root index app file - This launches the app
| ├── manifest.json # Metadata for the app
│ └── service-worker.js # Cache configurations
└── ...
The project is started with the regular ionic commands.
- Run
npm installto install all dependencies. - Run
ionic serveto start the development environment. - To build the project run
ionic build androidorionic build ios. In order for you to build an iOS app, you need to run on MacOS.
An alternative is to emulate the app on a device or upload it to the ionic cloud. From here you can download the ionic view app and use the app on all devices.