Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Regression in interaction between v-slots and v-if #9658

Copy link
Copy link
@patrickas

Description

@patrickas
Issue body actions

Version

2.6.8

Reproduction link

http://jsfiddle.net/6bk180pn/2/

Steps to reproduce

The fiddle contains three parts.
Part 1 is the old working syntax.
Part 2 is the commented out new syntax that does not work anymore, un-commenting this part triggers the error.
Part 3 is a workaround using the new syntax but that requires copying part of the code of the component to the parent so it works.

What is expected?

template is only included when the condition is true

What is actually happening?

syntax error


This seems like a regression especially since the old functionality will be discontinued in future releases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.