mirror of
https://github.com/microsoft/monaco-editor.git
synced 2024-11-25 16:35:44 +08:00
Rename to /samples/
This commit is contained in:
parent
c9081ee4f3
commit
091f871e65
@ -1,17 +1,17 @@
|
||||
**/node_modules/
|
||||
**/out/
|
||||
**/release/
|
||||
/monaco-editor-samples/browser-esm-parcel/.cache/
|
||||
/monaco-editor-samples/browser-esm-parcel/dist/
|
||||
/monaco-editor-samples/browser-esm-vite-react/dist/**/*.js
|
||||
/monaco-editor-samples/browser-esm-webpack/dist/*.js
|
||||
/monaco-editor-samples/browser-esm-webpack-monaco-plugin/dist/*.js
|
||||
/monaco-editor-samples/browser-esm-webpack-small/dist/*.js
|
||||
/monaco-editor-samples/browser-esm-webpack-typescript/dist/*.js
|
||||
/monaco-editor-samples/browser-esm-webpack-typescript-react/dist/*.js
|
||||
/monaco-editor/test/samples-all.generated.js
|
||||
/monaco-editor/test/playground.generated/
|
||||
/monaco-editor/typedoc/theme/
|
||||
/monaco-editor/typedoc/monaco.d.ts
|
||||
/monaco-editor/website/lib/
|
||||
/samples/browser-esm-parcel/.cache/
|
||||
/samples/browser-esm-parcel/dist/
|
||||
/samples/browser-esm-vite-react/dist/**/*.js
|
||||
/samples/browser-esm-webpack/dist/*.js
|
||||
/samples/browser-esm-webpack-monaco-plugin/dist/*.js
|
||||
/samples/browser-esm-webpack-small/dist/*.js
|
||||
/samples/browser-esm-webpack-typescript/dist/*.js
|
||||
/samples/browser-esm-webpack-typescript-react/dist/*.js
|
||||
/src/typescript/lib/
|
||||
|
@ -30,7 +30,7 @@ It is recommended to develop against the `dev` version, and in production to use
|
||||
|
||||
## Documentation
|
||||
|
||||
- Learn how to integrate the editor with these [complete samples](https://github.com/Microsoft/monaco-editor-samples/).
|
||||
- Learn how to integrate the editor with these [complete samples](./samples/).
|
||||
- [Integrate the AMD version](./monaco-editor/docs/integrate-amd.md).
|
||||
- [Integrate the AMD version cross-domain](./monaco-editor/docs/integrate-amd-cross.md)
|
||||
- [Integrate the ESM version](./monaco-editor/docs/integrate-esm.md)
|
||||
|
@ -5,18 +5,14 @@ Standalone HTML samples showing how to integrate the Monaco Editor.
|
||||
## Running
|
||||
|
||||
```bash
|
||||
git clone https://github.com/Microsoft/monaco-editor-samples.git
|
||||
cd monaco-editor-samples
|
||||
git clone https://github.com/microsoft/monaco-editor.git
|
||||
cd samples
|
||||
npm install .
|
||||
npm run simpleserver
|
||||
```
|
||||
|
||||
Go to <a href="http://localhost:8888">localhost:8888</a> and explore the samples!
|
||||
|
||||
## Issues
|
||||
|
||||
Please file issues concering `monaco-editor-samples` in the [`monaco-editor` repository](https://github.com/Microsoft/monaco-editor/issues).
|
||||
|
||||
## Loading variations
|
||||
|
||||
- `browser-amd-editor`: running in a browser using `AMD` lazy loading.
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "monaco-editor-samples",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"description": "Samples for using the Monaco Editor",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
Loading…
Reference in New Issue
Block a user