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

  • Oracle JET for Developers
  • Raja Malleswara Rao Pattamsetti
  • 182字
  • 2021-07-02 22:03:05

Running a project with Grunt

  1. Once the project has been created in the preceding step, it can be built using the following command:
      cd <project name>
grunt build
  1. The preceding command should complete the project build, as shown in the following screenshot:

  1. Once the project is built successfully, it can be executed using the following command:
      grunt serve
  1. The preceding command should run the project, as shown in the following screenshot: 
  1. Once the project has started running, it should open the application, running in the default browser, as follows:

The default application was created using the navdrawer template, hence it is showing up with the default navdrawer template. We can open the project code in our favorite IDE and edit it to run again using the Grunt serve command.

However, the NetBeans IDE is providing the built-in plugins and support for npm and Grunt to manage these build and serve activities within the IDE. In addition, NetBeans provide great syntax advice and support for these plugins. Let's review the IDE installation, configuration, and usage in the following section.

主站蜘蛛池模板: 共和县| 瑞丽市| 大方县| 霍山县| 益阳市| 保亭| 荃湾区| 荣昌县| 珲春市| 湖北省| 炎陵县| 宁晋县| 高密市| 梁河县| 古交市| 邵东县| 榆树市| 阳信县| 名山县| 大同市| 德令哈市| 江陵县| 黔西县| 波密县| 安国市| 库车县| 神池县| 林口县| 深圳市| 通许县| 高州市| 通江县| 齐齐哈尔市| 永德县| 博爱县| 昆明市| 商城县| 沛县| 张家口市| 句容市| 金平|