2017-11-24 23:33:56 +03:00
|
|
|
# ember
|
|
|
|
|
|
|
|
> The Ember.js command line utility.
|
|
|
|
> Used for creating and maintaining Ember.js applications.
|
|
|
|
|
|
|
|
- Create a new Ember application:
|
|
|
|
|
|
|
|
`ember new {{my_new_app}}`
|
|
|
|
|
|
|
|
- Create a new Ember addon:
|
|
|
|
|
|
|
|
`ember addon {{my_new_addon}}`
|
|
|
|
|
|
|
|
- Build the project:
|
|
|
|
|
|
|
|
`ember build`
|
|
|
|
|
2017-12-09 20:07:00 +03:00
|
|
|
- Build the project in production mode:
|
|
|
|
|
|
|
|
`ember build -prod`
|
|
|
|
|
2017-11-24 23:33:56 +03:00
|
|
|
- Run the development server:
|
|
|
|
|
|
|
|
`ember serve`
|
|
|
|
|
|
|
|
- Run the test suite:
|
|
|
|
|
|
|
|
`ember test`
|
|
|
|
|
2017-11-25 20:36:23 +03:00
|
|
|
- Run a blueprint to generate something like a route or component:
|
2017-11-24 23:33:56 +03:00
|
|
|
|
|
|
|
`ember generate {{type}} {{name}}`
|
|
|
|
|
|
|
|
- Install an ember-cli addon:
|
|
|
|
|
|
|
|
`ember install {{name_of_addon}}`
|