官术网_书友最值得收藏!

Chapter 2. Setting up the Environment the Right Way

In this chapter we will learn how to set up our development environment and build a dummy app to verify the correct setup. This chapter also defines the possible and popular issues faced during setup so that you do not face any bottlenecks during the process. The instructions are separated for Windows OS, generic Linux OS, and Mac OS.

As we have discussed, Ionic has evolved into an ecosystem from a basic framework. It is very important that we set up our development tools the right way to leverage the full potential of this ecosystem.

We will be setting up a lot of software just for developing Mobile Apps, but if we want to use the power of developing for multiple platform apps using a single codebase, we have to do this. Any Native App is always built using the Native Development tools and hence we have to install and set up a Native Mobile development environment for all the platforms.

Apart from the build tools of native environments, a dev environment should provide ease of use and speed to the developer. Installing Ionic CLI based on NodeJS and Cordova would provide the extensive power of bootstrapping Ionic Projects with starter templates, managing Cordova plugins, and other dependencies. Code Editor should provide the developer with complete support for the programming languages an app is being built in. We will learn about some popular Code Editors that gel with Ionic App development. We will also build a dummy app to gain confidence of starting the actual development.

The following topics will be covered in this chapter:

  • Setting up Native Mobile development environments:
    • For iOS
    • For Android
    • For Windows phone
  • Ionic Development Environments:
    • Installing NodeJS
    • Installing Cordova and Ionic CLI
  • Basic commands in Ionic CLI
  • Building a dummy app
  • Popular issues faced and solutions
  • An alternative to the installation fuss—Ionic Play
  • Using Ionic with different Code Editors:
    • Brackets
    • Sublime Text
    • Visual Studio
主站蜘蛛池模板: 塔河县| 咸宁市| 洛浦县| 古浪县| 光泽县| 呈贡县| 北宁市| 武夷山市| 黎平县| 本溪市| 建宁县| 湟源县| 虞城县| 曲松县| 榆社县| 连江县| 舞钢市| 综艺| 延川县| 台南县| 海兴县| 讷河市| 额敏县| 台江县| 监利县| 固镇县| 双鸭山市| 巨鹿县| 石河子市| 益阳市| 临汾市| 同德县| 和政县| 山东省| 南涧| 始兴县| 定西市| 民县| 三原县| 新密市| 贵定县|