Configuring Ember CLI

Configuring Ember CLI

In addition to configuring your app itself, you can also configure Ember CLI. These configurations can be made by adding them to the .ember-cli file in your application's root. Many can also be made by passing them as arguments to the command line program.

For example, a common desire is to change the port that Ember CLI serves the app from. It's possible to pass the port number from the command line with ember server --port 8080. To make this configuration permanent, edit your .ember-cli file like so:

{
  "port": 8080
}

For a full list of command line options, run ember help.

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://guides.emberjs.com/v2.13.0/configuring-ember/configuring-ember-cli

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部