Skip to content

Commit 477279a

Browse files
committed
Fix curl command
Add explanation for app using app.import.
1 parent 7010fe7 commit 477279a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

markdown/docs/addon-author-guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ modules it exports will not be available inside the app when running in
217217
the FastBoot environment. Make sure to guard against missing
218218
dependencies in that case.
219219

220+
For apps trying to import third party libraries that are not compatible in Node, should
221+
create an in-repo addon within their app and follow the above guideline.
222+
220223
## Loading additional assets in FastBoot
221224

222225
Often your addon may require to load third party libraries that are

markdown/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Only after the content has loaded do they start downloading JavaScript. Once fin
77
And yes, this means the content in your Ember application is accessible to everyone, even if they have JavaScript turned off. It's even accessible to cURL—try it yourself:
88

99
```sh
10-
curl http://www.ember-fastboot.com
10+
curl 'http://localhost:4200/' -H 'Accept: text/html'
1111
```
1212

1313
For more information, see [the User Guide](/docs/user-guide)

0 commit comments

Comments
 (0)