{"id":18023287,"url":"https://github.com/beginor/systemjs-plugin-dojo","last_synced_at":"2025-04-04T18:19:20.732Z","repository":{"id":57376261,"uuid":"82446448","full_name":"beginor/systemjs-plugin-dojo","owner":"beginor","description":"Dojo loader for SystemJS","archived":false,"fork":false,"pushed_at":"2017-02-19T12:13:56.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T14:43:16.259Z","etag":null,"topics":["dojo","loader","plugin","systemjs"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beginor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-19T08:48:47.000Z","updated_at":"2022-12-05T21:49:21.000Z","dependencies_parsed_at":"2022-09-05T19:12:36.167Z","dependency_job_id":null,"html_url":"https://github.com/beginor/systemjs-plugin-dojo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fsystemjs-plugin-dojo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fsystemjs-plugin-dojo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fsystemjs-plugin-dojo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beginor%2Fsystemjs-plugin-dojo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beginor","download_url":"https://codeload.github.com/beginor/systemjs-plugin-dojo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226191,"owners_count":20904467,"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":["dojo","loader","plugin","systemjs"],"created_at":"2024-10-30T07:08:59.916Z","updated_at":"2025-04-04T18:19:20.697Z","avatar_url":"https://github.com/beginor.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dojo loader plugin for SystemJS\n\n## Installation\n\nFirst install this plugin with npm:\n\n```sh\nnpm install systemjs-plugin-dojo\n```\n\nThen add map to the loader:\n\n```js\nSystemJS.config({\n    map: {\n        'dojo-loader': 'node_modules/systemjs-plugin-dojo/dojo.js'\n    }\n});\n```\n\n## Setup\n\nFirst make sure dojo or esri works through `dojoConfig`, for example:\n\n```js\n(function (global) {\n    'use strict';\n    global.dojoConfig = {\n        async: true,\n        baseUrl: '.',\n        packages: [\n            { name: 'dgrid', location: 'bower_components/dgrid' },\n            { name: 'dijit', location: 'bower_components/dijit' },\n            { name: 'dojo', location: 'bower_components/dojo' },\n            { name: 'dojox', location: 'bower_components/dojox' },\n            { name: 'dstore', location: 'bower_components/dstore' },\n            { name: 'moment', location: 'bower_components/moment' },\n            { name: 'esri', location: 'bower_components/esri' }\n        ]\n    };\n})(window);\n```\n\nAnd link dojo in your html file:\n\n```html\n\u003cscript src=\"dojoConfig.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/dojo/dojo.js\"\u003e\u003c/script\u003e\n```\n\nThen config all dojo related package load with the loader, for example:\n\n```js\nSystemJS.config({\n    meta: {\n        'dojo/*': { loader: 'dojo-loader' },\n        'esri/*': { loader: 'dojo-loader' }\n    }\n});\n```\n\n### Demo\n\nSee [ng2-esri-demo](https://github.com/beginor/ng2-esri-demo) for more details.\n\n## License\n\n[MIT](LICENSE)\n\n## Special thanks to\n\n- [roemhildtg](https://gist.github.com/roemhildtg/4dce79f9bffe74b99a6a6cea3f44604f)\n- [tomwayson](https://github.com/tomwayson)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeginor%2Fsystemjs-plugin-dojo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeginor%2Fsystemjs-plugin-dojo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeginor%2Fsystemjs-plugin-dojo/lists"}