Closed nightmare-mio closed 10 months ago
Please refer to unplugin-auto-import, which can refer to APIs automatically.
This project has been configured with plugins so you don't have to actively reference them
Otherwise, quote 'ref' proactively
import { computed, ref } from 'vue'
const count = ref(0)
const doubled = computed(() => count.value * 2)
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.
Describe the bug
this's my package.json
this's a new project,without config
this's new project,"Helloworld" can operate normally,but ref can't
Reproduction
no
System Info
Used Package Manager
pnpm
Validations