diff --git a/packages/docs/docs/00-introduction.mdx b/packages/docs/docs/00-introduction.mdx index 1bfef1d8e7..c7759a6097 100644 --- a/packages/docs/docs/00-introduction.mdx +++ b/packages/docs/docs/00-introduction.mdx @@ -39,24 +39,6 @@ import Form from '@rjsf/core'; Our latest version requires React 16+. You can also install `react-jsonschema-form` (the 1.x version) which works with React 15+. -### As a script served from a CDN - -```html - -``` - -Source maps are available at [this url](https://unpkg.com/@rjsf/core/dist/core.cjs.production.min.js.map). - -> Note: The CDN version **does not** embed `react` or `react-dom`. If you want other distributions (i.e. umd, esm), look [here](https://unpkg.com/@rjsf/core/dist/) for all releases - -You'll also need to alias the default export property to use the Form component: - -```ts -const Form = JSONSchemaForm.default; -// or -const { default: Form } = JSONSchemaForm; -``` - ## Usage ```tsx diff --git a/packages/docs/main.js b/packages/docs/main.js deleted file mode 100644 index f96b23069b..0000000000 --- a/packages/docs/main.js +++ /dev/null @@ -1,41 +0,0 @@ -$(function () { - function escape(html) { - return html.replace(/&/g, '&').replace(/>/g, '>').replace(/
\n<div id="app"></div>
' + - text + - '