diff --git a/README.md b/README.md index d0d6e42..0f47e9e 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,6 @@ vue-motion is licensed under the Apache-2.0 License. See the [LICENSE](./LICENSE - [X(Twitter)](https://x.com/bugduckteam) - [Discord](https://discord.gg/PUVcpkv8) - [Bilibili (For 🇨🇳 Users)](https://space.bilibili.com/1959824394) + +✨ Star History +[![Star History Chart](https://api.star-history.com/svg?repos=bug-duck/vuemotion&type=Date)](https://star-history.com/#bug-duck/vuemotion&Date) diff --git a/packages/lib/src/widgets/video.vue b/packages/lib/src/widgets/video.vue index fcfdf29..92ec89b 100644 --- a/packages/lib/src/widgets/video.vue +++ b/packages/lib/src/widgets/video.vue @@ -1,5 +1,5 @@ diff --git a/test/src/App.vue b/test/src/App.vue index 4293e38..b604173 100644 --- a/test/src/App.vue +++ b/test/src/App.vue @@ -9,7 +9,6 @@ import { Line, } from "@vue-motion/lib"; import { onMounted } from "vue"; -import "@vue-motion/extension-animations"; const rect = useWidget(); const line = useWidget(); @@ -22,9 +21,6 @@ onMounted(() => { // rect.rotateTo(200) // rect.zoomTo(3, 3) - rect.focusOn({ - by: easeInOutCirc, - }); rect.moveOnPath( "M 100 100 Q 100 200 200 200 Q 300 200 300 100 Q 300 0 200 0 Q 100 0 100 100 Z", { @@ -42,7 +38,7 @@ onMounted(() => { ); rect.parallel( (r) => r.discolorateFillTo("skyblue"), - (r) => r.discolorateBorderTo("yellow"), + (r) => r.discolorateBorderTo("blue"), (r) => r.move(-200, -200), ); @@ -53,7 +49,7 @@ onMounted(() => { diff --git a/test/src/main.ts b/test/src/main.ts index cc67c7e..832067d 100644 --- a/test/src/main.ts +++ b/test/src/main.ts @@ -1,13 +1,6 @@ import { createApp } from "vue"; import "./style.css"; import { createPlayer } from "@vue-motion/core"; -import { setups } from "@vue-motion/extension-animations"; import App from "./App.vue"; -createApp(App) - .use( - createPlayer({ - addition: setups, - }), - ) - .mount("#app"); +createApp(App).use(createPlayer({})).mount("#app");