Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse23 committed Aug 9, 2024
1 parent 3d20e43 commit 024169e
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 15 deletions.
2 changes: 2 additions & 0 deletions docs/assets/CtxSamplePage-C2Ve1I2s.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/assets/OpsSamplePage-7CxVzVnB.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/assets/OpsSamplePage-Bo8gOhrR.js

This file was deleted.

16 changes: 8 additions & 8 deletions docs/assets/index-BpXPET8f.js → docs/assets/index-BKSd87P-.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
padding: 0;
}
</style>
<script type="module" crossorigin src="./assets/index-BpXPET8f.js"></script>
<script type="module" crossorigin src="./assets/index-BKSd87P-.js"></script>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { MyComponent } from "./pages/ops/MyComponent";
const ROUTES: Record<string, JSX.ElementType> = {
grid: lazy(() => import("./pages/GridSamplePage")),
ops: lazy(() => import("./pages/OpsSamplePage")),
ctx: lazy(() => import("./pages/CtxSamplePage")),
};

const Router = () => {
Expand Down
7 changes: 7 additions & 0 deletions src/pages/CtxSamplePage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@


export const CtxSamplePage = () => {
return <div>Hello</div>
};

export default CtxSamplePage;
4 changes: 2 additions & 2 deletions src/pages/OpsSamplePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ remoteApi.register({
});

const OpsSamplePage = () => {
useDynamicCss("/OpsSamplePage.css", "dynamic-css");
useDynamicCss("./OpsSamplePage.css", "dynamic-css");

const [iframeCompApiContent, setIframeCompApiContent] = useState(
"Call component-level-api in iframe component"
Expand Down Expand Up @@ -181,7 +181,7 @@ const OpsSamplePage = () => {
>
<iframe
id="iframe-sample"
src="/#/ops_iframe"
src="./#/ops_iframe"
style={{
width: "100%",
height: "inherit",
Expand Down

0 comments on commit 024169e

Please sign in to comment.