vite+vue3+ts4.4.4 doesn't work , show as ' has no exported member 'ref' '
Version
3.2.16
Reproduction link
Steps to reproduce
i use npm init vitejs/app
to create a typescript project。
typescript version : 4.4.4
vue version : 3.2.16
when i write the code 'import { defineComponent, ref , onMounted } from "vue";' always show me the wrong : Module '"../node_modules/vue/dist/vue"' has no exported member 'onMounted'. i tried to change the ts version and vue version,but doesn't work
What is expected?
how can i solve this issue?
What is actually happening?
how can i solve this issue?
how can i solve this issue?