Basic responsive samples on how to work with the ArcGIS API for JavaScript while offline.
Here are the important directories to know: