为什么`npm start`没有解释{{#unless environment.production}}

时间:2016-08-31 05:48:20

标签: javascript html node.js angular npm-install

    </script>
    {{#unless environment.production}}
    <script src="ember-cli-live-reload.js" type="text/javascript"></script>
    {{/unless}}
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
  </head>
  <body>
  <app-root>Loading...</app-root>
  {{#each scripts.polyfills}}
  <script src="{{.}}"></script>
  {{/each}}
  <script>
    System.import('system-config.js').then(function () {
      System.import('main');
    }).catch(console.error.bind(console));
  </script>

ng build如何知道解释像{{#unless environment.production}}这样的行(当我使用angular cli进行脚手架时)

npm build不知道解释它吗?

ng npm或反之亦然

0 个答案:

没有答案