I'm trying to incorporate an ESRI map into an existing Vue.JS application and I'm having trouble utilising PortalItem to load a specific, public map from AGOL.
To test, I've setup a fresh Vue app using esri-loader as per instructions here. All I have done is change the provided code to use WebMap instead of ArcGisMap object.
This is my WebMap component code, which loads perfectly fine and I see the streets-vector basemap as expected. A full repo the reproduces the issue on my end is here:
Any indications as to why I'd be getting this with Vue.js?
Looks like I had pasted a mismatched copy of the code. My samples had also updated loadmodules to show WebMap.
Still the same result. As mentioned, WebMap works fine using the basemap parameter, but doesn't work with Portalitem.
I will try to post a repo up that reproduces it.