Subscribe on changes!

Entering the page shows that ReferenceError is not caught: defineComponent is not defined

avatar
Mar 15th 2021

Version

3.0.7

Reproduction link

https://jsfiddle.net/7z8dr6fq/

image image

Steps to reproduce

npm run dev

What is expected?

The page is displayed normally

What is actually happening?

Page crash

avatar
Apr 13th 2021

楼主怎么解决的,我今天也碰到了。 突然间就坏了。

avatar
Apr 13th 2021

I fixed it!. FYI if someone later met this issue

  1. Terminal: npx vite --force
  2. Chrome dev tools: Network => Check Disable cache.
  3. Hard refresh page

This occurs when I refactor my project to use the script setup sugar.

avatar
Apr 29th 2021

image 又出现了这个问题,我们同事都炸了

avatar
Apr 29th 2021

Please open a new issue and provide a valid minimum repro, otherwise it will still be closed