how to import format into a controller
supersabillon opened this issue · 2 comments
supersabillon commented
Thanks for providing the format helper, is there a better way to import the format function to a controller or should I do the same line you have in the dummy app: import format from 'npm:date-fns/format';
?
oskarrough commented
If you want the format
function from date-fns I would do exactly as you suggest, using ember-browserify.
oskarrough commented
Closing. Feel free to reopen if there's anything.