Entering the page shows that ReferenceError is not caught: defineComponent is not defined
Version
3.0.7
Reproduction link
https://jsfiddle.net/7z8dr6fq/
Steps to reproduce
npm run dev
What is expected?
The page is displayed normally
What is actually happening?
Page crash
I fixed it!. FYI if someone later met this issue
- Terminal:
npx vite --force
- Chrome dev tools: Network => Check
Disable cache
. - Hard refresh page
This occurs when I refactor my project to use the script setup sugar
.