Jimu is a JavaScript library used to create a configurable experience and is the extensibility framework that consists of the following packages:
jimu-arcgispackage contains classes and methods for working with the ArcGIS Maps SDK for JavaScript. Commonly used classes includeJimuandMap View Jimu.Map View Component jimu-corepackage provides the interfaces and types to work with widget props, message actions, data source, etc. It also defines several classes that will be used throughout your experiences.jimu-for-builderpackage provides classes for developing the widget setting page such asSettingandChange Function Widget.Setting Props jimu-for-testpackage contains classes, types, and functions that can be used for unit testing.jimu-uipackage includes UI components to be used in your experiences. For performance reasons, the UI components are split into three categories. Thejimu-uientry contains the general UI components, such asButton,Input, etc. The entries underjimu-ui/basiccontains focused components, such asColorandPicker QR. Entries underCode jimu-ui/advancedare heavy and complex, for example, thesetting-componentsentry contains several components that may be used in the widget setting.
These packages use the same structure pattern so you can follow the same best practices to use them. Each package defines some entries for import, these entries are put under the root folder of the package. The contents in the lib folder should be considered as the internal contents for the package so you should not import them in your widget. For example, when you need to use the Button component from jimu-ui, you should import it like import { instead of import {.