Skip to content

Commit 8ea5901

Browse files
author
Ulises Ramirez-Roche
committed
Update Guide with imports section
1 parent 70a8b36 commit 8ea5901

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We welcome ideas and experiments.
4848
First, run `npm install -g ember-cli` to install Ember CLI.
4949
Now, on top of your existing EAK project, run `ember init`. Ember CLI
5050
will begin to migrate your project, showing you a diff of its overrides as it
51-
goes along.
51+
goes along. If you need to edit one, press the 'e' key.
5252

5353
### Ember Init Overrides
5454

@@ -80,13 +80,18 @@ goes along.
8080
* package.json
8181

8282

83+
### Importing Ember and Ember Data
84+
85+
You now have to import ember and ember-data, so you will have to add `import Ember from "ember` and
86+
`import DS from "ember-data"` anywhere you explicitly declared a route, controller, model, and so on.
87+
8388
### Migrating your API Stub
8489

8590
To wire this up again, run `ember generate api-stub` followed by your app's name.
86-
This command will generate a server folder where you can use the express app and migrate routes accordingly.
91+
This generates a server directory where you can then migrate your routes accordingly.
8792

88-
@manuelmitasch just released [Ember CLI Rest API Blueprint](https://github.com/manuelmitasch/ember-cli-rest-api-blueprint)
89-
which generates DS.RESTAdapter compatible express routes for a given modelname.
93+
You may also want to look into [Ember CLI Rest API Blueprint](https://github.com/manuelmitasch/ember-cli-rest-api-blueprint)
94+
which generates DS.RESTAdapter compatible express routes for a given Model.
9095

9196
### Using The Express Server
9297

@@ -96,7 +101,7 @@ file server or develop the API and turn it into a full-stack solution.
96101

97102
## Cleanup
98103

99-
You can remove the Gruntfile, tasks, since we won't be needing them anymore.
104+
You can remove the Gruntfile and tasks folder since we won't be needing them anymore.
100105

101106
### Troubleshooting
102107

0 commit comments

Comments
 (0)