Fix some samples

This commit is contained in:
Alex Dima 2021-12-09 22:16:35 +01:00
parent b84d22c6fb
commit e77825074d
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
4 changed files with 4 additions and 7 deletions

View File

@ -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: [

View File

@ -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>

View File

@ -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": {

View File

@ -1,2 +1,3 @@
dist/*.js
dist/*.ttf
dist/*.txt