mirror of
https://github.com/microsoft/monaco-editor.git
synced 2024-11-25 16:35:44 +08:00
Fix some samples
This commit is contained in:
parent
b84d22c6fb
commit
e77825074d
@ -28,6 +28,7 @@
|
||||
|
||||
// Define a new theme that constains only rules that match this language
|
||||
monaco.editor.defineTheme('myCoolTheme', {
|
||||
colors: {},
|
||||
base: 'vs',
|
||||
inherit: false,
|
||||
rules: [
|
||||
|
@ -6,12 +6,6 @@
|
||||
<body>
|
||||
<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:
|
||||
|
||||
<pre>
|
||||
|
@ -3,7 +3,8 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"serve": "vite preview"
|
||||
"serve": "vite preview",
|
||||
"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
@ -1,2 +1,3 @@
|
||||
dist/*.js
|
||||
dist/*.ttf
|
||||
dist/*.txt
|
||||
|
Loading…
Reference in New Issue
Block a user