-
Recently, we encountered an issue in our project: it works well locally, but after deploying to CF, the footer element of The problem was that the I would like to understand why this happened and what the recommended way to import the components is. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @lance315 the |
Beta Was this translation helpful? Give feedback.
In the wrappers folder all web components (
(...)/wrappers/webComponents/[componentName]/index.js
) come without the import for the respective web component, whereas in the dist folder all web components ((...)/dist/webComponents/[componentName]/index.js
) are imported.Take the Avatar for example:
When you're importing from root (e.g.
import {Avatar} from "@ui5/webcompon…