You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose adding a new section to CONTRIBUTING.md called "Developer Quick Start". This is not a quick start for people who are using ArcGIS REST JS - that is located here: https://developers.arcgis.com/arcgis-rest-js/get-started/ ... this is a "Quick Start" for developers making changes or testing ArcGIS REST JS. This section would contain, roughly:
... and we would add sample.html to this repo containing the following:
sample.html
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8" /><title>Sample</title></head><body><!-- Map package imports to URLS starting with @esri/... which will get served from the local build of the modules --><scripttype="importmap">{"imports": {"@esri/arcgis-rest-request": "/@esri/arcgis-rest-request/dist/bundled/request.esm.js","@esri/arcgis-rest-portal": "/@esri/arcgis-rest-portal/dist/bundled/portal.esm.js"}}</script><scripttype="module">import{searchItems}from"@esri/arcgis-rest-portal";letelement=document.createElement("pre");document.body.appendChild(element);searchItems("water").then((response)=>{element.textContent=JSON.stringify(response,null,2);// false});</script></body></html>
Alternatives considered
Developers can download the arcgis-rest-samples repo and use that for quick testing, but sometimes setting up a second repo is too much work for small/quick verifications.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
Since we have moved the demos/samples to a separate repo, there is now no quick way to run a quick code test manually. For example, if I want to verify a bug.
Describe the proposed solution
I propose adding a new section to CONTRIBUTING.md called "Developer Quick Start". This is not a quick start for people who are using ArcGIS REST JS - that is located here: https://developers.arcgis.com/arcgis-rest-js/get-started/ ... this is a "Quick Start" for developers making changes or testing ArcGIS REST JS. This section would contain, roughly:
npm run dev:bundled
npm run serve
... and we would add
sample.html
to this repo containing the following:sample.html
Alternatives considered
Developers can download the arcgis-rest-samples repo and use that for quick testing, but sometimes setting up a second repo is too much work for small/quick verifications.
Additional Information
No response
The text was updated successfully, but these errors were encountered: