workflow: improve template-explorer local load speed

This commit is contained in:
Evan You
2020-02-06 10:22:16 -05:00
parent ee5ed73361
commit 39d1acf417
4 changed files with 332 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ Live explorer for template compilation output.
To run:
- `yarn dev template-explorer`
- Open `local.html`.
- `yarn dev-compiler`
- When the compilation is done, in another terminal run `yarn open`
`index.html` uses CDN for dependencies and is continuously deployed at [https://vue-next-template-explorer.netlify.com/](https://vue-next-template-explorer.netlify.com/).
Note: `index.html` uses CDN for dependencies and is continuously deployed at [https://vue-next-template-explorer.netlify.com/](https://vue-next-template-explorer.netlify.com/). For local development, use the scripts above.

View File

@@ -20,7 +20,7 @@ window._deps = {
require.config({
paths: {
'vs': 'https://unpkg.com/monaco-editor/min/vs'
'vs': '../../node_modules/monaco-editor/min/vs'
}
})
</script>