In Visual Studio Code the import for calcite-components cannot be found.
You can see this if you open the GitHub Sample use-calcite-components in your IDE.
The path for calcite components in the client folder changed obviously from "jimu-ui/calcite-components/index" to "jimu-ui/calcite-components". And the tsconfig file was not updated. Changing the path in tsconfig.json in line 27 will solve the problem.
Also last I checked, they had something in web pack that maps all the calcite-components from 'calcite-components' when you build.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.