I recently started learning arcgis for javascript, among which dojo is a framework that must be learned. Today, we have conducted research on related modularization and objectification.
To summarize a few points: 1. Add the dojo framework to the project, the default JS calling directory is dojo, if you want to add a new The content of the calling directory needs to be written: