mirror of
https://github.com/mathuo/dockview
synced 2025-03-11 00:12:07 +00:00
chore: fix docs build
This commit is contained in:
parent
f6e816fa10
commit
db9703a150
@ -14,7 +14,7 @@ const { version } = JSON.parse(
|
||||
|
||||
const REACT_VERSION = '18.2.0';
|
||||
const VUE_VERSION = '3.4.21';
|
||||
const DOCKVIEW_VERSION = version;
|
||||
const DOCKVIEW_VERSION = 'latest'; // version;
|
||||
const USE_LOCAL_CDN = argv.slice(2).includes('--local');
|
||||
|
||||
const local = 'http://localhost:1111';
|
||||
|
@ -8,8 +8,10 @@ const BASE_SANDBOX_URL =
|
||||
export const _CodeRunner = (props: { id: string; height: number }) => {
|
||||
const [framework] = useActiveFramework();
|
||||
|
||||
const sandboxUrl = `${BASE_SANDBOX_URL}/templates/${props.id}/${framework}`;
|
||||
const path = `/templates/${props.id}/${framework}/index.html`;
|
||||
const sandboxUrl = `${BASE_SANDBOX_URL}/templates/${
|
||||
props.id
|
||||
}/${framework.toLowerCase()}`;
|
||||
const path = `/templates/${props.id}/${framework.toLowerCase()}/index.html`;
|
||||
return (
|
||||
<div>
|
||||
<iframe
|
||||
|
Loading…
Reference in New Issue
Block a user