update CDN example links

This commit is contained in:
Suren Atoyan 2021-01-17 20:15:11 +04:00 committed by GitHub
parent cf9d215cd3
commit 144bf4e5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ Monaco Editor for React · use the [monaco-editor](https://microsoft.githu
## Synopsis
`Monaco` editor wrapper for easy/one-line integration with any `React` application without needing to use `webpack` (or any other module bundler) configuration files / plugins. It can be used with apps generated by `create-react-app`, `create-snowpack-app`, `vite`, `Next.js` or any other app gererators - **you don't need to eject or rewire them**. [You can use it even from CDN without budlers](https://codesandbox.io/s/cdn-example-hrzv2)
`Monaco` editor wrapper for easy/one-line integration with any `React` application without needing to use `webpack` (or any other module bundler) configuration files / plugins. It can be used with apps generated by `create-react-app`, `create-snowpack-app`, `vite`, `Next.js` or any other app gererators - **you don't need to eject or rewire them**. [You can use it even from CDN without budlers](https://codesandbox.io/s/cdn-example-fnhfr?file=/index.html)
## Motivation
@ -56,7 +56,7 @@ or
yarn add @monaco-editor/react
```
or you can use `CDN`. [Here is an example]((https://codesandbox.io/s/cdn-example-hrzv2))
or you can use `CDN`. [Here is an example](https://codesandbox.io/s/cdn-example-fnhfr?file=/index.html)
**NOTE**: For `TypeScript` type definitions, this package uses the [monaco-editor](https://www.npmjs.com/package/monaco-editor) package as a peer dependency. So, if you need types and don't already have the [monaco-editor](https://www.npmjs.com/package/monaco-editor) package installed, you will need to do so