Evan You
|
872b3f7ec5
fix(compiler-sfc): should also expose regular script block bindings when `<script setup>` is used
|
4 years ago |
Evan You
|
57f10812cc
fix(compiler-sfc): fix import usage check for lowercase imported components
|
4 years ago |
Evan You
|
f855ccb2c1
fix(compiler-sfc): fix import usage check in template strings in expressions
|
4 years ago |
webfansplz
|
ad66295cb3
fix(defineProps): defineProps generates unnecessary array of same types (#4353)
|
4 years ago |
Evan You
|
1e1682f060
fix(compiler-sfc): fix import usage check for last expression
|
4 years ago |
Evan You
|
88a4504e82
fix(compiler-sfc): fix import usage detection for names containing $
|
4 years ago |
Evan You
|
f0ca233d8b
refactor(compiler-sfc): improve script setup import expose heuristics
|
4 years ago |
Evan You
|
5a3ccfd914
feat(compiler-sfc): avoid exposing imports not used in template
|
4 years ago |
Evan You
|
93a950d60d
fix(compiler-sfc): support const enum
|
4 years ago |
edison
|
f7607d3a15
fix(compiler-sfc): defineProps infer TSParenthesizedType (#4147)
|
4 years ago |
Evan You
|
e66a493da1
refactor: remove deprecated defineEmit() support
|
4 years ago |
Evan You
|
f596e008ef
refactor: remove deprecated scopeId codegen
|
4 years ago |
Evan You
|
03e26845e2
fix(sfc): fix `<script setup>` async context preservation logic
|
4 years ago |
Evan You
|
1ffd48a2f5
fix(compiler-sfc): support TS runtime enum in `<script setup>`
|
4 years ago |
Evan You
|
96cc335aa7
feat(sfc): make ref sugar disabled by default
|
4 years ago |
Evan You
|
0240e82a38
feat(sfc): auto restore current instance after await statements in async setup()
|
4 years ago |
Evan You
|
fd7fa6f694
test: fix script setup directive test
|
4 years ago |
Evan You
|
62c1b2f7dc
fix(compiler-sfc): fix defineProps/defineEmits usage in multi-variable declarations
|
4 years ago |
Evan You
|
2973b6c30a
feat(sfc): support referenced types for defineEmits
|
4 years ago |
Evan You
|
afdd2f2835
fix(compiler-sfc): support method signature in defineProps
|
4 years ago |
Evan You
|
2f91db30cd
feat(sfc): support using declared interface or type alias with defineProps()
|
4 years ago |
Evan You
|
4c5844a9ca
feat(sfc): withDefaults helper
|
4 years ago |
Evan You
|
691d354af9
fix(compiler-sfc): fix defineProps() call on imported identifier
|
4 years ago |
Evan You
|
be2b1d3c2f
feat(sfc): defineExpose
|
4 years ago |
Evan You
|
6f6f0cf5dc
feat(sfc): remove `<template inherit-attrs>` support
|
4 years ago |
Eduardo San Martin Morote
|
a137da8a9f
feat(sfc): add `defineEmits` and deprecate `defineEmit` (#3725)
|
4 years ago |
edison
|
2c7bd42801
fix(compiler-sfc): fix template expression assignment codegen for script setup let refs (#3626)
|
4 years ago |
HcySunYang
|
6bfb50aff9
fix(compiler-sfc): correctly remove parens used for wrapping (#3582)
|
5 years ago |
Evan You
|
7f7dcc9f7d
fix(compiler-sfc): fix wrong scopeId for nested `<script setup>` components
|
5 years ago |
Evan You
|
bb8cdcad9f
fix(compiler-sfc): support proper type arguments for defineEmit helper
|
5 years ago |