Select to view content in your preferred language

Developer Edition 1.15: Issue with Calcite path

47
1
Jump to solution
9 hours ago
ChristineWiltawsky1
New Contributor II

In Visual Studio Code the import for calcite-components cannot be found.

ChristineWiltawsky1_1-1721892570025.png

You can see this if you open the GitHub Sample use-calcite-components in your IDE.

0 Kudos
1 Solution

Accepted Solutions
ChristineWiltawsky1
New Contributor II

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.

"calcite-components": ["jimu-ui/calcite-components"],
ChristineWiltawsky1_0-1721893693567.png

 

View solution in original post

1 Reply
ChristineWiltawsky1
New Contributor II

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.

"calcite-components": ["jimu-ui/calcite-components"],
ChristineWiltawsky1_0-1721893693567.png