Evan You
c9c7030041
chore: update sfc playground download dep versions
2021-08-09 16:08:53 -04:00
webfansplz
acb2a4d285
fix(sfc-playground): Transform named default exports without altering scope ( #4154 )
...
Co-authored-by: webfansplz <>
2021-07-20 10:28:02 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Cédric Exbrayat
1e5e004d7c
chore(sfc-playground): remove compiler macro imports ( #4134 )
...
Importing `defineEmits` and `defineProps` is no longer needed since v3.1.3
2021-07-19 10:08:51 -04:00
Evan You
0245c98640
chore(sfc-playground): handle ssr-only compile errors
2021-06-28 17:34:52 -04:00
Evan You
4c5844a9ca
feat(sfc): withDefaults helper
2021-06-26 21:11:57 -04:00
Evan You
3ffc7be864
chore(sfc-playground): ignore duplicate logs
2021-06-25 19:31:47 -04:00
Evan You
be0f614ac0
feat(sfc-playground): support lang=ts
2021-06-25 15:56:51 -04:00
Evan You
0b8b576428
fix(sfc): allow variables that start with _ or $ in <script setup>
2021-06-23 10:13:23 -04:00
Eduardo San Martin Morote
a137da8a9f
feat(sfc): add defineEmits
and deprecate defineEmit
( #3725 )
2021-06-22 15:02:56 -04:00
Herrington Darkholme
9a5bdb15df
chore(playground): support unicode in sfc playground ( #3662 )
...
atob/btoa only supports ASCII string which makes playground fails
to save unicode source. This patch add unicode support by combining
escape/encodeURIComponent. `escape` is chosen for backward
compatibility.
2021-06-08 10:12:15 -04:00
Cédric Exbrayat
c90fb945f4
refactor(sfc-playground): modes declaration ( #3522 )
2021-04-01 18:37:50 -04:00
Evan You
4dc457dae5
workflow(sfc-playground): make it work in safari and ff
2021-03-31 15:23:01 -04:00
Evan You
5ee7e6bc70
workflow(sfc-playground): support import map
2021-03-31 13:31:00 -04:00
Evan You
e097bd4dd5
chore(sfc-playground): use svg logo
2021-03-31 12:36:45 -04:00
Evan You
7bc5fd9a04
chore(sfc-playground): teardown preview update watcher
2021-03-31 12:22:25 -04:00
Evan You
ebf396251c
chore(sfc-playground): responsive
2021-03-30 22:10:18 -04:00
Evan You
9d39cd46e9
workflow(sfc-playground): support selecting versions
2021-03-30 22:00:46 -04:00
Evan You
6cab91dfe8
workflow(sfc-playground): clear errors in edge cases
2021-03-30 12:49:50 -04:00
Evan You
b6298dbd01
workflow(sfc-playground): warn on <style module> usage
2021-03-30 12:39:08 -04:00
Evan You
c771b1dc80
workflow(sfc-playground): add ssr compile output
2021-03-30 12:36:59 -04:00
Evan You
2793bc0918
chore(sfc-playground): use type defineEmit
2021-03-29 16:36:40 -04:00
Evan You
4d9f9fdf9d
workflow(sfc-playground): make warnings dismissable
2021-03-29 16:11:38 -04:00
Evan You
7ab519cc96
workflow(sfc-playground): pass along analyzed bindings when compiling template
2021-03-29 16:11:38 -04:00
Evan You
4d2853ef57
workflow(sfc-playground): display analyzed bindings in js output
2021-03-29 16:11:38 -04:00
Evan You
117a61bc17
chore(sfc-playground): fix clipboard usage
2021-03-29 10:54:32 -04:00
Evan You
24a90abeda
chore(sfc-playground): logo, responsive
2021-03-29 10:33:19 -04:00
Evan You
3aaa53748b
workflow(sfc-playground): tweaks and commit links
2021-03-29 02:07:04 -04:00
Evan You
bb937e9033
workflow(sfc-playground): attach filename
2021-03-29 00:32:28 -04:00
Evan You
ce5e0b67a9
workflow(sfc-playground): fix download
2021-03-28 23:48:01 -04:00
Evan You
9613969ffc
workflow(sfc-playground): share and download buttons
2021-03-28 23:36:36 -04:00
Evan You
aa8bf1b7a3
workflow(sfc-playground): improve module rewrite
2021-03-28 21:55:22 -04:00
Evan You
3ac661b896
chore: force refresh playground editor on startup
2021-03-28 18:50:12 -04:00
Evan You
d1bf35c8b8
workflow(sfc-playground): support multiple files
2021-03-28 18:41:33 -04:00
Evan You
2e3984fd5b
chore: default code for sfc playground
2021-03-28 02:24:25 -04:00
Evan You
16e8f45199
workflow(sfc-playground): fix newline
2021-03-28 02:17:55 -04:00
Evan You
f76ddc5ac3
workflow: sfc playground
2021-03-28 01:35:45 -04:00