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

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.

主站蜘蛛池模板: 建平县| 苍溪县| 石城县| 洞口县| 宁南县| 广西| 思南县| 浦北县| 永泰县| 九台市| 赞皇县| 博湖县| 寻乌县| 易门县| 津市市| 阜南县| 司法| 昌邑市| 城口县| 五台县| 炉霍县| 昌黎县| 阜宁县| 曲松县| 平昌县| 东宁县| 邻水| 太白县| 通辽市| 宁德市| 汨罗市| 肥城市| 莎车县| 阿拉善盟| 东明县| 英德市| 邵阳县| 辉县市| 天台县| 卓尼县| 边坝县|