GitHub / vuejs/core issues and pull requests
Labelled with: scope: script-setup
#12243 - fix(compiler-sfc): fix The withDefaults function loses arguments when assigning a function default value
Pull Request -
State: open - Opened by hcg1023 about 1 year ago
- 2 comments
Labels: :cake: p2-nice-to-have, scope: script-setup, ready for review
#10885 - Props destructure with rest operator doesn't seem to work on 3.5.0-alpha.2
Issue -
State: closed - Opened by ByScripts over 1 year ago
Labels: :lady_beetle: bug, scope: script-setup
#10784 - fix(runtime-code): warn using array created without ref as a ref inside v for in script setup (fix: #10655)
Pull Request -
State: closed - Opened by quiteeasy over 1 year ago
- 4 comments
Labels: :cake: p2-nice-to-have, scope: script-setup
#10726 - Vue not able to extract prop from `ReadonlyArray` and `readonly`
Issue -
State: closed - Opened by VividLemon over 1 year ago
- 1 comment
Labels: :lady_beetle: bug, scope: types, :hammer: p3-minor-bug, scope: script-setup
#10596 - withDefaults: object unions no longer get merged (fix #10594)
Pull Request -
State: closed - Opened by th1m0 over 1 year ago
- 1 comment
Labels: scope: types, scope: script-setup
#10594 - withDefaults merge object union
Issue -
State: closed - Opened by th1m0 over 1 year ago
Labels: scope: types, scope: script-setup
#9972 - Error when accessing destructured prop inside defineModel's getter/setter
Issue -
State: closed - Opened by sqal almost 2 years ago
- 1 comment
Labels: :lady_beetle: bug, has workaround, scope: script-setup
#9899 - withDefaults doesn't respect type definition of defineProps - able to add unknown property.
Issue -
State: closed - Opened by rasmus0201 almost 2 years ago
Labels: scope: types, scope: script-setup
#9877 - `defineProps` cannot declared generic boolean type
Issue -
State: open - Opened by alexzhang1030 almost 2 years ago
- 4 comments
Labels: scope: script-setup, π© p2-edge-case
#9871 - Wrong props parser with generics
Issue -
State: closed - Opened by tragid almost 2 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: script-setup, regression
#9446 - fix: correctly resolve types from relative paths on Windows
Pull Request -
State: closed - Opened by sodatea about 2 years ago
- 1 comment
Labels: :lady_beetle: bug, :exclamation: p4-important, scope: script-setup
#9400 - feat(compiler-sfc): introduce `defineRender` macro
Pull Request -
State: open - Opened by sxzz about 2 years ago
- 13 comments
Labels: ready to merge, version: minor, scope: script-setup
#9159 - fix(compiler-sfc): Compilation of `expose` removes `inlineTemplate` restriction
Pull Request -
State: open - Opened by baiwusanyu-c about 2 years ago
- 11 comments
Labels: scope: script-setup, π© p2-edge-case, ready for review
#9136 - Inconsistent component ref when using `defineExpose`
Issue -
State: open - Opened by perenstrom about 2 years ago
- 4 comments
Labels: :lady_beetle: bug, scope: script-setup
#9125 - "Missing required prop" warning after mounting component with union as props
Issue -
State: open - Opened by SIGSTACKFAULT about 2 years ago
- 10 comments
Labels: scope: script-setup
#8952 - Conditional properties through discriminated unions and intersections in TypeScript
Issue -
State: open - Opened by theguriev over 2 years ago
- 13 comments
Labels: scope: types, :cake: p2-nice-to-have, scope: script-setup
#8874 - feat(compiler-sfc): expose resolve type-based props and emits
Pull Request -
State: closed - Opened by sxzz over 2 years ago
- 1 comment
Labels: version: minor, scope: script-setup
#8782 - Can not use props.xxx type render component
Issue -
State: closed - Opened by chenweiyi over 2 years ago
Labels: scope: script-setup, π© p2-edge-case
#8671 - fix(compiler-sfc): normalize windows paths when resolving types
Pull Request -
State: closed - Opened by Y0me over 2 years ago
- 1 comment
Labels: :lady_beetle: bug, :exclamation: p4-important, scope: script-setup
#8522 - DefineProps import issue in v3.3.4
Issue -
State: closed - Opened by arvi-nagaraj over 2 years ago
- 4 comments
Labels: scope: script-setup, π© p2-edge-case
#8482 - Can't use generic prop type when definition includes intersection with generic params?
Issue -
State: open - Opened by superfreddialpad over 2 years ago
- 20 comments
Labels: scope: compiler, has PR, :cake: p2-nice-to-have, scope: script-setup
#8468 - @vue/compiler-sfc cannot build <script setup> components that use generic discriminated union props
Issue -
State: open - Opened by justin-schroeder over 2 years ago
- 7 comments
Labels: scope: compiler, scope: script-setup
#8465 - Vue 3.3.4. defineEmits doesn't setup extended events
Issue -
State: closed - Opened by tragid over 2 years ago
- 1 comment
Labels: scope: compiler, :exclamation: p4-important, scope: script-setup
#7866 - dx(runtime-core): warn if `this` is used in a `<script setup>` template
Pull Request -
State: closed - Opened by skirtles-code over 2 years ago
- 1 comment
Labels: ready to merge, scope: script-setup
#7805 - Vue 3 SFC Compiler function call with semicolon bug.
Issue -
State: closed - Opened by houd1ni over 2 years ago
- 6 comments
Labels: :lady_beetle: bug, scope: compiler, has PR, :hammer: p3-minor-bug, scope: script-setup
#7567 - [TypeScript] Imported refs can't be used as template refs in development
Issue -
State: closed - Opened by ferferga almost 3 years ago
Labels: :lady_beetle: bug, scope: compiler, scope: script-setup, π© p2-edge-case
#7522 - fix(runtime-core): named ref, Non-ref data should not be contaminated
Pull Request -
State: open - Opened by liuxiaojun666 almost 3 years ago
- 3 comments
Labels: scope: script-setup, π© p2-edge-case
#7487 - Optional boolean prop gives type Ref<boolean | undefined> which should be Ref<boolean>
Issue -
State: closed - Opened by jd-solanki almost 3 years ago
- 6 comments
Labels: :lady_beetle: bug, scope: types, scope: script-setup
#6926 - v-bind css variable crashes during ssr dev
Issue -
State: closed - Opened by Trinovantes about 3 years ago
- 5 comments
Labels: :lady_beetle: bug, scope: ssr, has PR, :exclamation: p4-important, scope: script-setup
#6827 - fix(compiler-core): No access `this` through function declaration in <script setup>
Pull Request -
State: open - Opened by godxiaoji about 3 years ago
- 5 comments
Labels: :cake: p2-nice-to-have, scope: script-setup, ready for review
#6483 - Script Setup - Class constructor [class] cannot be invoked without 'new'
Issue -
State: closed - Opened by alexbot89 over 3 years ago
- 5 comments
Labels: :lady_beetle: bug, scope: compiler, scope: script-setup, π© p2-edge-case
#6192 - When i use v-bind,vue warns about invalid prop.
Issue -
State: closed - Opened by 98kWarning over 3 years ago
- 2 comments
Labels: scope: script-setup, π© p2-edge-case
#6161 - defineProps does not support a type that uses Omit
Issue -
State: closed - Opened by Wouter125 over 3 years ago
- 2 comments
Labels: scope: script-setup
#5955 - fix(compile-sfc): support `Error` type in `defineProps`
Pull Request -
State: closed - Opened by zhmushan over 3 years ago
- 6 comments
Labels: :cake: p2-nice-to-have, scope: script-setup
#5941 - Type-only defineProps does not recognize Promise
Issue -
State: closed - Opened by lseeker over 3 years ago
Labels: scope: compiler, scope: script-setup
#5847 - toRefs type is wrong when using defineProps with optional boolean props
Issue -
State: closed - Opened by extrem7 over 3 years ago
- 7 comments
Labels: :lady_beetle: bug, scope: types, scope: compiler, scope: script-setup
#5830 - Compiler crashes in some situations when the word "zoom?" is present
Issue -
State: closed - Opened by mobayen over 3 years ago
- 12 comments
Labels: :lady_beetle: bug, scope: compiler, scope: script-setup
#5808 - async transformer doesn't correctly detect need for semicolon in block
Issue -
State: closed - Opened by danielroe over 3 years ago
- 1 comment
Labels: scope: compiler, :hammer: p3-minor-bug, scope: script-setup
#5750 - literal constant references should be supported in macros
Issue -
State: closed - Opened by sxzz over 3 years ago
- 1 comment
Labels: :sparkles: feature request, scope: script-setup
#5615 - fix: The withDefaults function loses arguments when assigning a function default value #5253
Pull Request -
State: closed - Opened by hcg1023 over 3 years ago
- 4 comments
Labels: :cake: p2-nice-to-have, scope: script-setup, wait changes
#5615 - fix: The withDefaults function loses arguments when assigning a function default value #5253
Pull Request -
State: closed - Opened by hcg1023 over 3 years ago
- 5 comments
Labels: :cake: p2-nice-to-have, scope: script-setup, wait changes
#5496 - [compiler-sfc] the `inlineTemplate` option makes it hard to expose component name to dev tools
Issue -
State: open - Opened by sodatea over 3 years ago
Labels: scope: compiler, scope: sfc, :cake: p2-nice-to-have, scope: script-setup
#5471 - `undefined` type in prop could warn
Issue -
State: closed - Opened by livthomas almost 4 years ago
- 5 comments
Labels: :sparkles: feature request, scope: types, has PR, :cake: p2-nice-to-have, scope: script-setup, can't reproduce
#5425 - Renaming destructured props fails in some cases
Issue -
State: closed - Opened by sqal almost 4 years ago
Labels: :lady_beetle: bug, :hammer: p3-minor-bug, scope: script-setup
#5250 - Invalid Prop type warning when using imported interface with union in defineProps
Issue -
State: closed - Opened by kalvenschraut almost 4 years ago
- 12 comments
Labels: scope: types, :exclamation: p4-important, scope: script-setup
#5218 - use <script setup name="cpnName"> instead of two <script>
Issue -
State: closed - Opened by gumingWu almost 4 years ago
- 19 comments
Labels: :sparkles: feature request, scope: script-setup
#5209 - Template breaks asterisk tree-shaking?
Issue -
State: closed - Opened by OpenGG almost 4 years ago
Labels: :cake: p2-nice-to-have, scope: script-setup
#5104 - defineProps() compiler hint fails if wrapped in another function call, i.e. toRefs
Issue -
State: closed - Opened by zhangenming almost 4 years ago
- 8 comments
Labels: :sparkles: feature request, scope: script-setup
#4980 - `script setup` with extra `render` function does not render anything in production mode, but works in dev mode.
Issue -
State: closed - Opened by wxsms about 4 years ago
- 8 comments
Labels: :sparkles: feature request, scope: script-setup
#4917 - use IIFE in script setup throws error
Issue -
State: closed - Opened by heart-er about 4 years ago
- 7 comments
Labels: :lady_beetle: bug, scope: compiler, :cake: p2-nice-to-have, scope: script-setup
#4897 - ζε εοΌηΆη»δ»ΆιεΌδΌ ιpropοΌεη»δ»Άζ ζ³ζ£εΈΈθ·ε
Issue -
State: closed - Opened by ShaneLee-9 about 4 years ago
- 10 comments
Labels: :lady_beetle: bug, scope: script-setup
#4868 - Script Setup nullable prop type causes compile error
Issue -
State: closed - Opened by RorzGonzalez about 4 years ago
- 5 comments
Labels: :lady_beetle: bug, scope: types, scope: script-setup
#4783 - Prop type declaration is not working as expected for Boolean props
Issue -
State: closed - Opened by phucnguyen035 about 4 years ago
- 5 comments
Labels: scope: script-setup
#4696 - Enums defined in regular script block aren't exposed to template with script setup
Issue -
State: closed - Opened by henribru about 4 years ago
Labels: scope: compiler, scope: script-setup
#4599 - `$setup.bar is not a function` with script setup
Issue -
State: closed - Opened by henribru about 4 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: compiler, :hammer: p3-minor-bug, scope: script-setup
#4596 - SFC top level await with single-line if condition is being compiled incorrectly
Issue -
State: closed - Opened by dsine-de about 4 years ago
Labels: :hammer: p3-minor-bug, scope: script-setup
#4592 - ``Script setup`` is not supported symbol prop
Issue -
State: closed - Opened by oooplz about 4 years ago
Labels: :lady_beetle: bug, :hammer: p3-minor-bug, scope: script-setup
#4540 - <template> can not find the variable when i use destructuring assignment in the <script setup>
Issue -
State: closed - Opened by fxosleeping about 4 years ago
Labels: :lady_beetle: bug, scope: compiler, has workaround, scope: script-setup, π© p2-edge-case
#4505 - sfc-compiler doesn't handle semicolons in interface declarations properly when compiling script setup
Issue -
State: closed - Opened by code-farmer-i about 4 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: script-setup
#4448 - sfc compiles invalid code for nested await
Issue -
State: closed - Opened by QiroNT over 4 years ago
Labels: :lady_beetle: bug, scope: compiler, scope: script-setup, π© p2-edge-case
#4431 - Inconsistent ref handling between dev and build
Issue -
State: closed - Opened by jods4 over 4 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: script-setup
#4423 - Components dont have default export with multiple <script>
Issue -
State: open - Opened by Nisgrak over 4 years ago
- 13 comments
Labels: :lady_beetle: bug, scope: types, scope: sfc, scope: script-setup, π© p2-edge-case
#4369 - Expose variables in regular script block to template when using script setup
Issue -
State: closed - Opened by henribru over 4 years ago
- 5 comments
Labels: :sparkles: feature request, scope: sfc, has workaround, scope: script-setup
#4312 - SFC `setup` script does not make imported components available to template with TypeScript + Pug
Issue -
State: closed - Opened by spenserblack over 4 years ago
- 15 comments
Labels: :lady_beetle: bug, scope: script-setup
#4294 - How to import interface for defineProps
Issue -
State: closed - Opened by Otto-J over 4 years ago
- 151 comments
Labels: :sparkles: feature request, scope: types, scope: script-setup
#4214 - local directives imports in TS script-setup with a leading uppercase `V` are dropped in dev mode
Issue -
State: closed - Opened by jods4 over 4 years ago
- 7 comments
Labels: :lady_beetle: bug, scope: compiler, scope: sfc, has workaround, scope: script-setup, π© p2-edge-case
#4146 - defineProps: bad type generated
Issue -
State: closed - Opened by jods4 over 4 years ago
Labels: :lady_beetle: bug, scope: sfc, scope: script-setup
#4106 - script block next to script setup is in TSX mode by default
Issue -
State: closed - Opened by jods4 over 4 years ago
- 5 comments
Labels: need guidance, scope: types, has workaround, :cake: p2-nice-to-have, scope: script-setup
#4092 - defineSlots for script setup
Issue -
State: closed - Opened by jods4 over 4 years ago
- 9 comments
Labels: :sparkles: feature request, scope: sfc, scope: script-setup
#4062 - defineProps returns undefined when there is a prop and variant with the same name
Issue -
State: closed - Opened by odex21 over 4 years ago
Labels: scope: compiler, scope: script-setup
#3739 - Using defineProps in a multiple-variable declaration causes compiler to produce invalid code.
Issue -
State: closed - Opened by wenkm over 4 years ago
Labels: :lady_beetle: bug, scope: sfc, :hammer: p3-minor-bug, scope: script-setup
#3625 - @onclick="v+=1" for ref v declared as var/let does not increment. <script setup>
Issue -
State: closed - Opened by lidlanca over 4 years ago
Labels: :lady_beetle: bug, scope: sfc, :hammer: p3-minor-bug, scope: script-setup
#3581 - Ref sugar compile result incorrect with destructuring + arrow function expression
Issue -
State: closed - Opened by johnsoncodehk over 4 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: sfc, :hammer: p3-minor-bug, scope: script-setup
#3543 - [Script Setup] Global directives collide with component's local vars
Issue -
State: closed - Opened by Sikarii over 4 years ago
- 3 comments
Labels: :lady_beetle: bug, scope: sfc, :hammer: p3-minor-bug, scope: script-setup
#3183 - script-setup: Types need to be imported separately with `import type ....`
Issue -
State: closed - Opened by JSerFeng almost 5 years ago
- 15 comments
Labels: :sparkles: feature request, scope: sfc, has workaround, scope: script-setup
#2983 - defineProps doesn't support methods syntax
Issue -
State: closed - Opened by jods4 almost 5 years ago
Labels: :sparkles: feature request, scope: sfc, scope: script-setup