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

  • 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.

主站蜘蛛池模板: 长汀县| 烟台市| 吉木萨尔县| 乌什县| 环江| 朝阳县| 尚志市| 重庆市| 德令哈市| 定南县| 巴林左旗| 革吉县| 会东县| 滁州市| 蒙城县| 涿鹿县| 阿巴嘎旗| 新丰县| 东阿县| 青浦区| 博罗县| 乳源| 五寨县| 句容市| 平定县| 宁化县| 遵义县| 明溪县| 慈利县| 西贡区| 尚义县| 伊宁县| 安阳市| 遂宁市| 象山县| 水富县| 鹤峰县| 盐池县| 天全县| 如皋市| 嵊州市|