title: How to set path for files in monaco editor?
body: <p>This is a snippet of html code in a <code>test.html</code> file.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script src="monaco-editor/min/vs/loader.js"&gt;&lt;/script&gt;
  &lt;script&gt;
   require.config({ paths: { 'vs': 'monaco-editor/min/vs' }});
   require(['vs/editor/editor.main'], function() {
    var editor = monaco.editor.create(document.getElementById('container'), {
     value: [
      'function x() {',
      '\tconsole.log("Hello world!");',
      '}'
     ].join('\n'),
     language: 'javascript'
    });
   });
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>this is a file tree on my system.</p>
  
  <p><code>ide
   ├── cpp14
   │   ├── test.html
   ├── monaco
       └── node_modules
           ├── monaco-editor
           └── test.html</code></p>
  
  <p>I copied <code>test.html</code> file from <code>monaco/node_moules/</code>  to <code>cpp14</code></p>
  
  <p>And changed all the paths in <code>cpp14/test.html</code> to</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script src="ide/monaco/node_modules/monaco-editor/min/vs/loader.js"&gt;&lt;/script&gt;
  &lt;script&gt;
   require.config({ paths: { 'vs': 'ide/monaco/node_modules/monaco-editor/min/vs' }});
   require(['ide/monaco/node_modules/monaco-editor/min/vs/editor/editor.main'], function() {
    var editor = monaco.editor.create(document.getElementById('container'), {
     value: [
      'function x() {',
      '\tconsole.log("Hello world!");',
      '}'
     ].join('\n'),
     language: 'javascript'
    });
      });</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is not working and I think there is error in setting path of those files in the snippet.
  How to make this work ?</p>