mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
37 lines
581 B
Markdown
37 lines
581 B
Markdown
# 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`
|
|
|
|
- Build the project in production mode:
|
|
|
|
`ember build -prod`
|
|
|
|
- Run the development server:
|
|
|
|
`ember serve`
|
|
|
|
- Run the test suite:
|
|
|
|
`ember test`
|
|
|
|
- Run a blueprint to generate something like a route or component:
|
|
|
|
`ember generate {{type}} {{name}}`
|
|
|
|
- Install an ember-cli addon:
|
|
|
|
`ember install {{name_of_addon}}`
|