Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新版vue3-count-to不支持 Vue3 #10

Open
hhun opened this issue Sep 30, 2023 · 0 comments
Open

最新版vue3-count-to不支持 Vue3 #10

hhun opened this issue Sep 30, 2023 · 0 comments

Comments

@hhun
Copy link

hhun commented Sep 30, 2023

最新版不支持 Vue3

<title>vue3-count-to</title>
<script src="https://unpkg.com/vue@3"></script>
<script src="https://unpkg.com/vue3-count-to"></script>

<div id="app">
	<count-to :start-val="1" :end-val="1234.56" decimals="2" :duration="3000" />
</div>

<script>
const app = window.Vue.createApp();
app.use(window.countTo).mount("#app");
</script>

以上代码用 [email protected] 却能正常运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant