Today I Learned

hashrocket A Hashrocket project

Mirage v0.2.0

Ember cli mirage has just launched a new version: 0.2.0.

Run this command to update and migrate:

npm install --save-dev ember-cli-mirage
ember generate ember-cli-mirage

A lot of changes like:

  • Move /app/mirage to /mirage
  • new JsonApiSerializer
  • new mirage models

Generate your mirage models with:

ember g mirage-model user

Reference

See More #emberjs TILs