Skip to content
Merged

dist #23

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# github_token: ${{ secrets.GITHUB_TOKEN }}
# 文档目录,如果是 react 模板需要修改为 docs-dist
publish_dir: ./examples/basic/build
publish_dir: ./examples/basic/dist
3 changes: 3 additions & 0 deletions examples/basic/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ function App() {
/>
)}
</ViewPanel>
<ViewPanel type="JSONTREE">
{(tree) => <div dangerouslySetInnerHTML={{__html:JSON.stringify(transformToSchema(tree))}}></div>}
</ViewPanel>
<ViewPanel type={`PREVIEW`}>
{(tree) => <PreviewWidget tree={tree} />}
</ViewPanel>
Expand Down