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