Skip to content

Allow use array syntax in keep-alive include/exclude #5914

@jkzing

Description

@jkzing

What problem does this feature solve?

The comma-delimited string syntax is not so intuitional, and actually it is splitting the string into an array. So why not support array syntax directly?

What does the proposed API look like?

<keep-alive :include="['a', 'b', 'c']">
</keep-alive>

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