English | 简体中文
In case of poor network, please move to Domestic Mirror Acceleration Node
Angular4.x + ionic3.x + cordova
Git clone git@github.com:EasyTuan/ionic-cordova-demo.git
# Domestic Mirror Acceleration Node: git@gitee.com:easytuan/ionic-cordova-demo.git
# global installation of ionic and cordova
Npm install -g cordova ionic
#Install project dependencies
Npm install
#Start the project in the browser
Npm run serve
# Add android platform
Ionic cordova platform add android
# usbConnect Android phone to run
Npm run dev
Project Name: [A Ionic3.x project], Ionic3.x mobile app demo.
node version
[8.0.0]
# Install ionic and cordova
Npm install -g cordova ionic
#Install project dependencies
Npm install
#Start the project in the browser
Ionic serve
# Add android platform
Ionic cordova platform add android
# usbConnect Android phone to run
Ionic cordova run android
# Bale
Npm run build
The entry address is src/app/app.module.ts
Directory Structure
ionic-conference-app/
|
|-- resources/
|
|-- src/
| |-- app/
| | ├── app.component.ts
| | └── app.module.ts
| | └── app.template.html
| | └── main.ts
| |
| ├── assets/
| | ├── fonts/
| | |
| | ├── icon/
| | |
| | └── images/
| |
| |-- components/
| |
| |-- pages/
| |
│ ├── services/
| | └── httpService.ts
| |
│ ├── theme/
| | └── variables.scss
| |
| └── index.html
|
├── .editorconfig
├── .gitignore
├── LICENSE
├── README.md
├── config.xml
├── ionic.config.json
├── package.json
├── tsconfig.json
└── tslint.json
- Bottom tabbar jump
- Communication between components
- Jump of the secondary page
- http request communication
- app icon and configuration of the launch page
Ionic development document address
Project full version (based on mui)
If you are helpful, welcome sponsorship
After receiving the sponsorship, I will promptly update the sponsorship wall