mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Fix some samples
This commit is contained in:
parent
b84d22c6fb
commit
e77825074d
4 changed files with 4 additions and 7 deletions
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
// Define a new theme that constains only rules that match this language
|
// Define a new theme that constains only rules that match this language
|
||||||
monaco.editor.defineTheme('myCoolTheme', {
|
monaco.editor.defineTheme('myCoolTheme', {
|
||||||
|
colors: {},
|
||||||
base: 'vs',
|
base: 'vs',
|
||||||
inherit: false,
|
inherit: false,
|
||||||
rules: [
|
rules: [
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,6 @@
|
||||||
<body>
|
<body>
|
||||||
<h2>Monaco Editor Parcel Bundler Sample</h2>
|
<h2>Monaco Editor Parcel Bundler Sample</h2>
|
||||||
|
|
||||||
This sample shows how to load a small subset of the editor:
|
|
||||||
<ul>
|
|
||||||
<li>Only the core editor and the find widget</li>
|
|
||||||
<li>Only the json language coloring</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
To run this sample, you need to:
|
To run this sample, you need to:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"serve": "vite preview"
|
"serve": "vite preview",
|
||||||
|
"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
dist/*.js
|
dist/*.js
|
||||||
dist/*.ttf
|
dist/*.ttf
|
||||||
|
dist/*.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue