Marcel Kintscher
12/28/2022, 5:21 PMsrc/routes/Home.tsx
compiles successfully. MD is importing correctly from my trial account. Any hints?Ivana Gasparekova
12/28/2022, 5:27 PMMarcel Kintscher
12/28/2022, 8:45 PMMarcel Kintscher
01/02/2023, 8:36 AMJakub Vajda
01/03/2023, 9:45 AMimport { InsightView } from "@gooddata/sdk-ui-ext";
InsightView docs reference, I will try to push the change in docs not to be confusing.
On the fifth line, you can either do this:
import * as Md from "../md/full";
To use it later as:
<InsightView insight={Md.Insights.nameOfYourInsight} />
Or you can use it as you are suggesting:
import { Insights } from "../md/full";
To be used like this:
<InsightView insight={Insights.nameOfYourInsight} />
However I am a bit concerned that this might still not work after changing. Could you please open a web browser console and see what kind or error you are getting (if any)?Jakub Vajda
01/04/2023, 6:27 PM