Hello first post here.
I'm working on an Angular application that will display a topographic basemap with some feature layers. This is similar to the "Getting started" example on the Arcgis Javascript page.
I'm using the 'arcgis/core' library to do the rendering; when I run the application a login popup is displayed.
How do I use my API key in the 'arcgis/core' library to prevent the popup? There are a lot of examples of using the API key with the regular JS libraries but not with 'arcgis/core'.
Any help or document pointers would be appreciated.