2017-11-24 20:33:56 +00:00
|
|
|
# ember
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Ember CLI: create and manage Ember.js applications.
|
2019-06-08 01:04:00 +01:00
|
|
|
> More information: <https://cli.emberjs.com>.
|
2017-11-24 20:33:56 +00:00
|
|
|
|
|
|
|
- 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 17:07:00 +00:00
|
|
|
- Build the project in production mode:
|
|
|
|
|
|
|
|
`ember build -prod`
|
|
|
|
|
2017-11-24 20:33:56 +00:00
|
|
|
- Run the development server:
|
|
|
|
|
|
|
|
`ember serve`
|
|
|
|
|
|
|
|
- Run the test suite:
|
|
|
|
|
|
|
|
`ember test`
|
|
|
|
|
2017-11-25 17:36:23 +00:00
|
|
|
- Run a blueprint to generate something like a route or component:
|
2017-11-24 20:33:56 +00:00
|
|
|
|
|
|
|
`ember generate {{type}} {{name}}`
|
|
|
|
|
|
|
|
- Install an ember-cli addon:
|
|
|
|
|
|
|
|
`ember install {{name_of_addon}}`
|