Skip to content

$setup.bar is not a function with script setup #4599

@henribru

Description

@henribru

Version

3.2.11

Reproduction link

github.com

Steps to reproduce

Run npm run serve in the reproduction repository, go to http://localhost:8080/ and check the dev console

What is expected?

The code should work fine and we should see "Hello World" in the browser

What is actually happening?

I get an error about $setup.bar is not a function in the dev console

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions