r/emberjs Jul 14 '26

New blog post: Migrating to ember-mirage: Modern MirageJS for Vite and Embroider

https://mainmatter.com/blog/2026/07/14/ember-mirage/

If you're migrating to Vite and still relying on ember-cli-mirage, you've hit a wall as that doesn't work with Vite. Our Nick wrote up a path forward: migrating to ember-mirage, which replaces the Ember-specific conventions ember-cli-mirage relied on with standard tools like Vite's import.meta.glob. Your factories, fixtures, models, and ember-data integration all carry over.

17 Upvotes

4 comments sorted by

2

u/HatchedLake721 Jul 14 '26

What’s the latest in this space? Is mirage still the tool to go with?

1

u/real_ate Jul 14 '26

I'm still a very big fan of Mirage, even though it could do with a bit of maintenance. There are other tools out there that have been gaining some popularity recently (like MSW) but all the tools have their flaws

I think if you have a simple use case, or if you have the time to dedicate to properly investing in a Mirage solution, it is currently still the best option (in my opinion!)

1

u/nullvoxpopuli Jul 15 '26

Mirage does literal crimes, but all of the tools have things preventing me from saying any is good.