2.1.3 (2023-06-22)
- actually fix editor type (95ab2ab)
2.1.2 (2023-06-22)
- ensure imported editor can be passed as prop without type error (414b0e6)
2.1.1 (2023-06-22)
- types: fix editor generated dts (e5705df)
2.1.0 (2023-06-22)
2.0.0 (2023-06-22)
- Support using Monaco Editor + Volar (#34)
-
The main
Repl
component now requires passing in the editor to be used via theeditor
prop. This is necessary so that the unused editor can be tree-shaken.Example using Monaco:
<script setup> import { Repl } from '@vue/repl' import Monaco from '@vue/repl/monaco-editor' import '@vue/repl/style.css' </script> <template> <Repl :editor="Monaco" /> </template>
Example using CodeMirror:
<script setup> import { Repl } from '@vue/repl' import CodeMirror from '@vue/repl/codemirror-editor' import '@vue/repl/style.css' </script> <template> <Repl :editor="CodeMirror" /> </template>
1.5.0 (2023-06-14)
- add ts and json mode (#37) (0e467af)
- console logging for component instance proxies (#62) (bb0e143)
- css update in ssr mode (3b7e511), closes #91 #92
- Fix reason.message not existing case (#54) (2508030)
- improve code gen when using cssVars in SSR (#85) (7e2bcc8)
- improve code with optional chain (#72) (b8caeae)
- prevent opening new tab for a tags with javascript href (#94) (64906a5)
- process all files when dynamic import (#60) (7049ae0)
- add
sublime
keymap (#45) (29263d8) - add file renaming (#63) (eb41c3a)
- add search and replace (#67) (4ca3d94)
- local JSON files (#82) (db076eb)
- support for sandbox page customization (#42) (a22b969)
1.4.1 (2023-04-21)
1.4.0 (2023-04-13)
- provide fs option to support 3.3 external type resolving (f0e826a)
1.3.6 (2023-04-13)
- types: make sfc options partial (9916f28)
1.3.5 (2023-04-06)
- avoid including vue in import map if using default URLs (37ce32b)
1.3.4 (2023-04-06)
- fix legacy domain in import maps (7e7c7f9)
1.3.3 (2023-03-17)
- ignore polyfill error in Safari (39f4ab1)
1.3.2 (2022-09-27)
- reset sandbox when changing files for safari compat (68a6197), closes vuejs/docs#1973
1.3.1 (2022-09-27)
1.3.0 (2022-06-26)
1.2.4 (2022-06-26)
1.2.3 (2022-05-25)
- also reset import map when resetting to defauilt vue version (5e89f07)
- improve new filename logic (9647666)
- warn versions that do not support in browser SSR (01cb5b2)
1.2.2 (2022-05-25)
- do not start compiling until sfc options are set (b6f86d9)
1.2.1 (2022-05-25)
- fix html initialization in ssr mode (152f2fa)
1.2.0 (2022-05-25)
- FileSelector: add an increment counter for new files (#36) (63b8f22)
- support ssr + hydration (098aa89)
1.1.2 (2022-05-20)
- apply TS transform to template when inine is disabled (ec2ae81)
1.1.1 (2022-05-17)
1.1.0 (2022-05-17)
1.0.1 (2022-05-17)
- also generate render function if inline mode is disabled (9a325bb)
- avoid reloading the iframe when switching output tabs (20bde55)
- css double # (#14) (8bcf7f0)
- fix module instantiation order (879f084)
- fix rewriteDefault TS edge case (d277d7f)
- fix setFiles with multi files cross imports (424e00d)
- force app name (18863af)
- small screen error msg covered code button (#18) (02da79d)
- toggler should be absolute (f8bb46f)
- update import map when setting vue versions (15cc696)