Skip to content

Functional template can't be mounted #360

Closed
@ghost

Description

Version

1.0.0-beta.10

Reproduction link

https://github.com/noamcore/functional-template

Steps to reproduce

git clone https://github.com/noamcore/functional-template.git
cd functional-template
npm install
npm run unit

What is expected?

The component can be tested using <template functional/>.

What is actually happening?

Error saying that mount.context can only be used when mounting a functional component


Functional component using functional attribute on template is on Vue 2.5.0 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions