First-time ionic experience, Chinese ionic tutorial

Source: Internet
Author: User

First-time ionic experience, Chinese ionic tutorial

Getting started with inoic
Install inoic
1. Install nodejs
2. install ionic globally using npm install-g iomic
3. Use ionic -- help to view help information. For more information about other commands, see the prompt script)
Subsequent Updates
4. Download and install templates through ionic templates
5. Generate the templates code of the instance: ionic start TabApp Tabs & cd TabApp & ionic platform add android
__________________________________________________________
This requires in-depth understanding (meaning creating a directory to add a running platform (android)
Install, start, and install the App)
6. Run the instance: ionic serve --> start the service.

You must register an account on ionic. io to listen for client events.

7. You can use virtual machines and local ports to listen


8. Enable multi-service listening through ionic serve-lab


9. You can modify the content displayed on the page by modifying the files in the templates directory in the www directory.

Revision icon
1. Create the resources folder under the same directory as www
2. Place the icon.png and splash.png images in the resources folder to overwrite the original files.
3. Use ionic resources android (android can be set as IOS platform), and then automatically produce icons of various sizes

Test Run by downloading genymotion android Simulator
Trial run code: ionic run android


Some background user data monitoring is updated later

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.