{"id":15659039,"url":"https://github.com/benelan/arcgis-esm-samples","last_synced_at":"2025-04-16T03:43:52.644Z","repository":{"id":43006014,"uuid":"328061633","full_name":"benelan/arcgis-esm-samples","owner":"benelan","description":"Samples that integrate the @arcgis/core build of the ArcGIS Maps SDK for JavaScript with various Server Side Rendering frameworks.","archived":false,"fork":false,"pushed_at":"2024-05-17T09:38:12.000Z","size":1604,"stargazers_count":24,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-11T02:32:53.813Z","etag":null,"topics":["arcgis","esm","esmodules","esri","example","gis","nextjs","nuxtjs","ssr","svelte","sveltekit","webbapp"],"latest_commit_sha":null,"homepage":"https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benelan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.MD","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-09T02:56:49.000Z","updated_at":"2025-03-28T20:27:45.000Z","dependencies_parsed_at":"2024-10-23T06:18:07.281Z","dependency_job_id":"8364bdcd-ef65-4909-bde5-2398e12bcec4","html_url":"https://github.com/benelan/arcgis-esm-samples","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":0.6666666666666667,"last_synced_commit":"2254d8cc3d120507bef83d61d23b97065f5b51a8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Farcgis-esm-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Farcgis-esm-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Farcgis-esm-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benelan%2Farcgis-esm-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benelan","download_url":"https://codeload.github.com/benelan/arcgis-esm-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249191908,"owners_count":21227676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arcgis","esm","esmodules","esri","example","gis","nextjs","nuxtjs","ssr","svelte","sveltekit","webbapp"],"created_at":"2024-10-03T13:14:43.828Z","updated_at":"2025-04-16T03:43:52.627Z","avatar_url":"https://github.com/benelan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @arcgis/core with Sever Side Rendering Frameworks\n\nThe samples in this repo were created for a [blog post](https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/), and extend those [provided by Esri](https://github.com/Esri/jsapi-resources/tree/master/esm-samples). The samples integrate the [@arcgis/core](https://www.npmjs.com/package/@arcgis/core) build of the ArcGIS Maps SDK for JavaScript with Server Side Rendering frameworks (plus Svelte, because Svelte is great).\n\n## Get started\n\nInstall the modules into your project:\n\n```sh\nnpm install @arcgis/core\n```\n\nThen use `import` statements to load individual modules.\n\n```js\nimport EsriMap from '@arcgis/core/Map';\nimport MapView from '@arcgis/core/views/MapView';\n\nconst map = new EsriMap({\n  basemap: 'topo-vector'\n});\n\nconst view = new MapView({\n  container: 'viewDiv',\n  map: map\n});\n```\n\nThe samples have their own READMEs for framework specific steps.\n\n## Configure CSS\n\nThe final step is to set up the CSS:\n\n```css\n@import 'https://js.arcgis.com/4.25/@arcgis/core/assets/esri/themes/light/main.css';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelan%2Farcgis-esm-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenelan%2Farcgis-esm-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelan%2Farcgis-esm-samples/lists"}