setTimeout and setInterval will be executed during build #3977
Unanswered
hahaxiaowai
asked this question in
Q&A
Replies: 1 comment
-
run them inside onMounted hook / inBrowser check if you don't want to run them during SSR, or wrap your component with ClientOnly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use custom component in vitepress, when I use
inteval
,it will be exceuted during build.this my code
import
use
Test.vue
build, and will not stop, why?
Beta Was this translation helpful? Give feedback.
All reactions