An open API service for providing issue and pull request metadata for open source projects.

GitHub / vuejs/core issues and pull requests

Labelled with: scope: compiler

#9560 - Unable to use new decorators in vue with vite and babel

Issue - State: closed - Opened by svihpinc about 2 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler

#9500 - withDefaults object variable results in non-tree-shakable component

Issue - State: closed - Opened by 94726 about 2 years ago
Labels: scope: compiler, :hammer: p3-minor-bug

#9493 - "Invalid left-hand binding in function parameter list." Occurs in versions after v3.3.5

Issue - State: closed - Opened by Mini-ghost about 2 years ago - 2 comments
Labels: scope: compiler, has workaround, :hammer: p3-minor-bug, regression

#9451 - feat(compiler-core): support shorthand syntax for v-bind

Pull Request - State: closed - Opened by zhiyuanzmj about 2 years ago - 14 comments
Labels: ready to merge, scope: compiler

#9448 - fix(compiler-core): compilation of slot v-if/else when preserve whitespace

Pull Request - State: open - Opened by pikax about 2 years ago - 2 comments
Labels: ready to merge, scope: compiler, πŸ”© p2-edge-case

#9448 - fix(compiler-core): compilation of slot v-if/else when preserve whitespace

Pull Request - State: open - Opened by pikax about 2 years ago - 3 comments
Labels: ready to merge, scope: compiler, πŸ”© p2-edge-case

#9427 - fix(compiler-core/v-slot): force dynamic slots when slot referencing scope vars

Pull Request - State: closed - Opened by edison1105 about 2 years ago - 6 comments
Labels: scope: slots, scope: compiler, ready for review

#9427 - fix(compiler-core/v-slot): force dynamic slots when slot referencing scope vars

Pull Request - State: open - Opened by edison1105 about 2 years ago - 6 comments
Labels: scope: slots, scope: compiler, ready for review

#9380 - Unnecessary update cycles occurring only when content is passed to default slot

Issue - State: open - Opened by jmcooper about 2 years ago - 2 comments
Labels: scope: slots, scope: compiler

#9363 - fix(compiler-core): emit TS-compatible function declaration when requested

Pull Request - State: closed - Opened by xesxen about 2 years ago - 8 comments
Labels: ready to merge, scope: compiler, :hammer: p3-minor-bug

#9316 - feat(compiler-core): enhance `fnExpRE`

Pull Request - State: closed - Opened by lvjiaxuan about 2 years ago - 5 comments
Labels: scope: compiler, version: minor, ready for review

#9316 - feat(compiler-core): enhance `fnExpRE`

Pull Request - State: open - Opened by lvjiaxuan about 2 years ago - 4 comments
Labels: scope: compiler, version: minor, ready for review

#9190 - fix(compiler-sfc): support import * as when resolving types

Pull Request - State: open - Opened by edison1105 about 2 years ago - 3 comments
Labels: :lady_beetle: bug, scope: compiler, ready for review

#9173 - vue-template-compiler: whitespace "preserve" option causes compiler error when using v-slot with v-if/v-else-if/v-else

Issue - State: closed - Opened by petridw about 2 years ago - 3 comments
Labels: scope: compiler, :hammer: p3-minor-bug

#9069 - feat(compiler-core): support Symbol in template

Pull Request - State: closed - Opened by 4xii over 2 years ago - 3 comments
Labels: need test, scope: compiler

#9027 - Could an update be needed for globalsAllowList

Issue - State: open - Opened by 0o001 over 2 years ago - 5 comments
Labels: :sparkles: feature request, scope: compiler, :cake: p2-nice-to-have

#8991 - fix(compiler-core): add isTemplateFor to ast of For nodes

Pull Request - State: open - Opened by Tofandel over 2 years ago - 3 comments
Labels: need guidance, scope: compiler

#8915 - Vue doesn't work correctly with dark classes in Tailwind 3.3

Issue - State: closed - Opened by doutatsu over 2 years ago - 4 comments
Labels: scope: compiler, has PR, :hammer: p3-minor-bug

#8910 - defineProps bug when Interface properteis contain two or more : colons

Issue - State: closed - Opened by cicin411 over 2 years ago
Labels: :lady_beetle: bug, scope: compiler, has PR, :hammer: p3-minor-bug

#8868 - Scoped style attribute not attached to selector key if it's a pseudo-class/element

Issue - State: open - Opened by kleinfreund over 2 years ago - 5 comments
Labels: :lady_beetle: bug, scope: compiler, scope: sfc, has workaround, has PR, πŸ”© p2-edge-case

#8729 - feat(compiler-core): export error message

Pull Request - State: closed - Opened by shengxinjing over 2 years ago - 2 comments
Labels: ready to merge, scope: compiler, need discussion

#8716 - Attribute shorthand not working with Indexed Access Types

Issue - State: open - Opened by hungify over 2 years ago - 3 comments
Labels: scope: types, scope: compiler

#8621 - feat(compiler): allow HTML comments in template interpolation syntax

Pull Request - State: open - Opened by GiantAxeWhy over 2 years ago - 2 comments
Labels: scope: compiler, :cake: p2-nice-to-have, need discussion

#8493 - fix(parse): allow comments at the end of template syntax

Pull Request - State: open - Opened by liuseen-l over 2 years ago
Labels: scope: compiler, :cake: p2-nice-to-have

#8493 - fix(parse): allow comments at the end of template syntax

Pull Request - State: closed - Opened by liuseen-l over 2 years ago
Labels: scope: compiler, :cake: p2-nice-to-have

#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

#8425 - fix(v-pre): v-pre more complete static attribute setting

Pull Request - State: open - Opened by baiwusanyu-c over 2 years ago - 4 comments
Labels: scope: compiler, πŸ”© p2-edge-case, ready for review

#8306 - `Invalid assignment target` in v-model data binding when building for production

Issue - State: closed - Opened by DamianGlowala over 2 years ago - 8 comments
Labels: :lady_beetle: bug, scope: compiler

#8048 - feat: support `v-model` for `<details>` and `<dialog>`

Pull Request - State: open - Opened by antfu over 2 years ago - 4 comments
Labels: ready to merge, scope: compiler, scope: v-model, version: minor

#8048 - feat: support `v-model` for `<details>` and `<dialog>`

Pull Request - State: open - Opened by antfu over 2 years ago - 4 comments
Labels: ready to merge, scope: compiler, scope: v-model, version: minor

#8040 - defineEmits() type cannot use computed keys

Issue - State: closed - Opened by sqal over 2 years ago
Labels: :lady_beetle: bug, scope: compiler, regression

#7943 - defineEmits with typescript and union types raises a warning

Issue - State: closed - Opened by elfjes over 2 years ago - 3 comments
Labels: scope: compiler, has workaround, πŸ”© p2-edge-case

#7851 - SFC compiler doesn't support new TypeScript (4.9+) feature

Issue - State: closed - Opened by nathpaiement over 2 years ago - 2 comments
Labels: scope: compiler

#7829 - fix(compiler-core): preserve whitespaces in texts full of whitespaces

Pull Request - State: open - Opened by rudyxu1102 over 2 years ago - 2 comments
Labels: :lady_beetle: bug, ready to merge, scope: compiler, :hammer: p3-minor-bug

#7805 - Vue 3 SFC Compiler function call with semicolon bug.

Issue - State: closed - Opened by houd1ni almost 3 years ago - 6 comments
Labels: :lady_beetle: bug, scope: compiler, has PR, :hammer: p3-minor-bug, scope: script-setup

#7789 - Whitespace preserve does not work

Issue - State: open - Opened by AndreKR almost 3 years ago - 4 comments
Labels: :lady_beetle: bug, scope: compiler, :hammer: p3-minor-bug

#7759 - useCssVars is called without current active component instance

Issue - State: closed - Opened by max512060925 almost 3 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#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

#7534 - "export default" within Vue component srcipt causes index-out-of-range

Issue - State: closed - Opened by TelephoneTan almost 3 years ago - 1 comment
Labels: scope: compiler, has PR

#7511 - DEV Warning: type check failed for enum prop

Issue - State: closed - Opened by dondevi almost 3 years ago - 1 comment
Labels: scope: compiler, :hammer: p3-minor-bug

#7422 - compiler-sfc: invalid declaration while using multiple variables with `defineEmits` and `defineProps`

Issue - State: closed - Opened by mnixry almost 3 years ago - 1 comment
Labels: scope: compiler, has PR, πŸ”© p2-edge-case

#7360 - dx(compiler-core): warn for directive shorthands without an argument

Pull Request - State: open - Opened by skirtles-code almost 3 years ago - 2 comments
Labels: scope: compiler, :cake: p2-nice-to-have, ready for review

#7359 - dx(compiler-core): warn for `:v-`

Pull Request - State: open - Opened by skirtles-code almost 3 years ago - 3 comments
Labels: scope: compiler, :cake: p2-nice-to-have, ready for review

#7337 - defineProps doesn't support typing props with "Extract", a native TypeScript's feature.

Issue - State: closed - Opened by Kolobamanacas almost 3 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, has PR, :hammer: p3-minor-bug

#7238 - for statement in inline handler

Issue - State: closed - Opened by JetLua about 3 years ago
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#7173 - Add option to enable Typescript by default in <script>

Issue - State: open - Opened by enkot about 3 years ago - 6 comments
Labels: :sparkles: feature request, scope: compiler

#7108 - fix(compiler-core): custom directive to empty string syntax error in ssr(#6283 )

Pull Request - State: open - Opened by baiwusanyu-c about 3 years ago - 8 comments
Labels: ready to merge, scope: compiler, :cake: p2-nice-to-have

#7095 - Loop context is lost when rendering nested slot in v-for using external component in SSR

Issue - State: closed - Opened by john-eos about 3 years ago - 6 comments
Labels: :lady_beetle: bug, scope: compiler, scope: ssr, :exclamation: p4-important

#7038 - Receive "Uncaught ReferenceError: _sfc_main is not defined" when using "export" and "default" strings in one line

Issue - State: closed - Opened by klyuevtech about 3 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#7018 - feat(compiler-core): support Error in template

Pull Request - State: closed - Opened by posva about 3 years ago - 7 comments
Labels: ready to merge, scope: compiler, version: minor, easy for merge

#6742 - Dynamic v-on and static v-on should be merged (first is overriden)

Issue - State: closed - Opened by Akryum about 3 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler

#6617 - `stringifyStatic` get wrong attributes

Issue - State: closed - Opened by zjffun about 3 years ago - 3 comments
Labels: :lady_beetle: bug, scope: compiler, :hammer: p3-minor-bug

#6568 - Selects with more than 4 explictly typed options always return string values in v-model.

Issue - State: closed - Opened by baubie over 3 years ago - 2 comments
Labels: :lady_beetle: bug, scope: compiler, has workaround, :hammer: p3-minor-bug

#6549 - v-slot not working on component if mixing default and named slots - compiler error not helpful

Issue - State: closed - Opened by noook over 3 years ago - 1 comment
Labels: scope: compiler, :cake: p2-nice-to-have

#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

#6367 - When using Non Ascii alias for list items in `v-for` directive, event handling is not working as expected.

Issue - State: closed - Opened by H4M4CHi-ttr over 3 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#6252 - TypeScript with type-only props declaration: exclusion of an enum breaks the property check

Issue - State: closed - Opened by XavierChevalier over 3 years ago
Labels: scope: types, scope: compiler, has PR

#6088 - Invalid parenthesized assignment pattern

Issue - State: closed - Opened by sheremet-va over 3 years ago - 3 comments
Labels: scope: compiler, has workaround, :hammer: p3-minor-bug

#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

#5819 - v-for compiler error case

Issue - State: closed - Opened by hchlq over 3 years ago - 3 comments
Labels: :sparkles: feature request, scope: compiler, has PR, πŸ”© p2-edge-case

#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

#5789 - fix(compiler-core): add support for arrow aysnc function with unbracketed

Pull Request - State: closed - Opened by hchlq over 3 years ago - 8 comments
Labels: scope: compiler, ready for review

#5789 - fix(compiler-core): add support for arrow aysnc function with unbracketed

Pull Request - State: closed - Opened by hchlq over 3 years ago - 8 comments
Labels: scope: compiler, ready for review

#5788 - v-on compiler lack of async single parameter function with unbracketed

Issue - State: closed - Opened by hchlq over 3 years ago - 6 comments
Labels: :sparkles: feature request, scope: compiler

#5700 - Compiler should warn about duplicate/conditional slots

Issue - State: open - Opened by jaa134 over 3 years ago - 5 comments
Labels: :sparkles: feature request, scope: compiler

#5613 - vite build fails with withDefaults and props extending from another interface

Issue - State: closed - Opened by jd-solanki over 3 years ago - 3 comments
Labels: :lady_beetle: bug, scope: compiler, has workaround, :hammer: p3-minor-bug

#5584 - when use custom v-model (with <script setup> style),it goes well in dev env,but may occur error:modelValue is undefined in production env

Issue - State: closed - Opened by CherishTheYouth over 3 years ago - 58 comments
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#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

#5439 - `v-html` render some random issue

Issue - State: closed - Opened by a272121742 almost 4 years ago - 2 comments
Labels: :lady_beetle: bug, scope: compiler

#5289 - Directives not working with SVG

Issue - State: closed - Opened by vandelpavel almost 4 years ago - 2 comments
Labels: :lady_beetle: bug, scope: compiler

#5106 - Using arrays in `style` can cause errors in some cases

Issue - State: closed - Opened by sushoucanyuan almost 4 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, :hammer: p3-minor-bug

#4968 - SFC compiler doesn't support TS 4.5 import { type X }

Issue - State: closed - Opened by jods4 about 4 years ago - 4 comments
Labels: :sparkles: feature request, scope: compiler, has workaround, has PR, scope: playground

#4920 - externalRE is not supported automatic http/https prefix url pattern

Issue - State: closed - Opened by qiyuan-wang about 4 years ago - 1 comment
Labels: :sparkles: feature request, scope: compiler

#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

#4764 - import without new line at the top of setup script + defineProps causes error

Issue - State: closed - Opened by loogn about 4 years ago - 3 comments
Labels: :lady_beetle: bug, scope: compiler, has workaround, πŸ”© p2-edge-case

#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

#4673 - script-setup: String with "export default { ... }" causes compilation error if lang is "ts"

Issue - State: closed - Opened by syropian about 4 years ago - 3 comments
Labels: scope: compiler

#4668 - Error TS6133: '$props' | '$setup' | '$options' is declared but its value is never read

Issue - State: open - Opened by iraklisg about 4 years ago - 12 comments
Labels: scope: types, scope: compiler, :cake: p2-nice-to-have

#4665 - @babel/parser included again in production build with runtimeCompiler=true

Issue - State: closed - Opened by igor-ye about 4 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler

#4663 - Imported refs used in `v-if` trigger "Object is possibly 'undefined'" error

Issue - State: closed - Opened by amw about 4 years ago - 6 comments
Labels: scope: types, scope: compiler, has workaround, πŸ”© p2-edge-case

#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

#4568 - inline async function in v-on handler

Issue - State: closed - Opened by lidlanca about 4 years ago
Labels: :lady_beetle: bug, scope: compiler, :cake: p2-nice-to-have

#4546 - Ref returned from composition outside of script setup no longer works after version 3.2.8

Issue - State: closed - Opened by maxxcs about 4 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, has workaround, :hammer: p3-minor-bug

#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

#4532 - allow ignoring specific exposed setup vars with internal prefixes ("_" and "$")

Issue - State: closed - Opened by theoephraim about 4 years ago - 7 comments
Labels: :sparkles: feature request, scope: compiler, has workaround, πŸ”© p2-edge-case

#4514 - template | local variable reference in a function is prefixed with _ctx

Issue - State: closed - Opened by lidlanca about 4 years ago
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#4494 - v- without directive name accidentally parsed as v-slot

Issue - State: closed - Opened by HerringtonDarkholme about 4 years ago - 1 comment
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#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

#4442 - Inconsistent $ref codegen

Issue - State: closed - Opened by jods4 over 4 years ago
Labels: scope: compiler, :hammer: p3-minor-bug

#4422 - The component name is not strict, resulting in the inability to run the VUE program

Issue - State: closed - Opened by qq974969638 over 4 years ago - 2 comments
Labels: :lady_beetle: bug, scope: compiler, πŸ”© p2-edge-case

#4331 - feat(compiler-core): enhance the warning for v-once

Pull Request - State: open - Opened by Bigfish8 over 4 years ago - 6 comments
Labels: scope: compiler, :cake: p2-nice-to-have, wait changes

#4327 - @click producing Uncaught ReferenceError: _cache is not defined

Issue - State: closed - Opened by LiamWiddop over 4 years ago - 2 comments
Labels: :lady_beetle: bug, scope: compiler, has workaround

#4282 - SVG is not transformed to `_createStaticVNode`

Issue - State: closed - Opened by sapphi-red over 4 years ago
Labels: :sparkles: feature request, scope: compiler

#4254 - Ref sugar (take 2) is not applied when casting in TypeScript

Issue - State: closed - Opened by ElMassimo over 4 years ago
Labels: :lady_beetle: bug, scope: compiler, :exclamation: p4-important