Skip to content

Commit

Permalink
Add serializer section in docs (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkopaderes authored Jan 28, 2021
1 parent 900e65c commit e42c5ea
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ These are the settings currently available:

Note that these settings will be the same regardless of the environment.

### 3. Create Your Application Serializer

Create an application serializer by running:

```bash
ember generate serializer application
```

Change it to look something like this:

```javascript
import CloudFirestoreSerializer from 'ember-cloud-firestore-adapter/serializers/cloud-firestore';

export default class ApplicationSerializer extends CloudFirestoreSerializer { }
```

---

[Next: Data Structure »](data-structure.md)

0 comments on commit e42c5ea

Please sign in to comment.