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

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.

主站蜘蛛池模板: 乐平市| 伊通| 六安市| 喀喇沁旗| 长治市| 长治市| 乌鲁木齐县| 榆中县| 南通市| 白水县| 松潘县| 梅州市| 武宁县| 乌审旗| 马龙县| 万盛区| 丰镇市| 福泉市| 许昌市| 综艺| 澄城县| 信阳市| 教育| 广灵县| 河池市| 长子县| 柳州市| 千阳县| 巴彦淖尔市| 库车县| 绩溪县| 五莲县| 罗定市| 沧源| 慈溪市| 博罗县| 江孜县| 武安市| 海淀区| 霍州市| 平遥县|