Subscribe on changes!

Imports from `<script>` should not expose to `<template>` when using `<script setup>`

avatar
Apr 10th 2021

Version

3.0.11

Reproduction link

https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuXHR7eyB0eXBlb2YgcmVmIH19XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IHNldHVwPlxuPC9zY3JpcHQ+XG5cbjxzY3JpcHQ+XG5pbXBvcnQgeyByZWYgfSBmcm9tICd2dWUnXG48L3NjcmlwdD4ifQ==

Steps to reproduce

Check preview of SFC playground.

What is expected?

Print undefined.

What is actually happening?

Print function.

avatar
Apr 10th 2021

@HcySunYang Yes close this, thank you.

avatar
Apr 10th 2021

Duplicate of #3238