vendredi 8 octobre 2021

How do I access ENV from config/environment in an addon?

This is a question that was asked by @dbendaou over on the Ember Discord


What is the best way to access ENV from config/envirnoment in an addon?

I was thinking about getOwner(this).lookup('config:environment') but it doesn't work neither does import ENV from '../config/environment'; 😅




Aucun commentaire:

Enregistrer un commentaire