Skip to content

Commit

Permalink
website: fix example issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 27, 2022
1 parent fb9ca3a commit d1f1b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/Markdown/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Code({ version, dependencies, codePen, codeSandbox, ...o
js: (props.code || '').replace('_mount_', 'document.getElementById("container")'),
html: '<div id="container" style="padding: 24px"></div>',
css_external: `https://unpkg.com/uiw@${version}/dist/uiw.min.css`,
js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/[email protected]/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,
js_external: `https://unpkg.com/react@17.x/umd/react.development.js;https://unpkg.com/react-dom@17.x/umd/react-dom.development.js;https://unpkg.com/[email protected]/index.js;https://unpkg.com/uiw@${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.1.3/index.js`,
};
}
if (codeSandbox) {
Expand Down

0 comments on commit d1f1b7d

Please sign in to comment.