How to destroy the kaplay instance? #271
Answered
by
lajbel
BananaAcid
asked this question in
Q&A
-
Using Vue3, I want to destroy the kaplay instance, when unmounting a view, or at specific cases manually. In both cases: globally with What would be the best way to do so? |
Beta Was this translation helpful? Give feedback.
Answered by
lajbel
Jul 18, 2024
Replies: 1 comment 2 replies
-
https://kaplayjs.com/doc/ctx/quit/ Would work for both cases By the way, you can't run more than 1 kaplay instance per page in latest alphas. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
niceEli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://kaplayjs.com/doc/ctx/quit/
Would work for both cases
By the way, you can't run more than 1 kaplay instance per page in latest alphas.