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.
Solved! Go to Solution.
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.
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.