feat: add countTo components

This commit is contained in:
xiaoxian521
2021-04-03 15:04:28 +08:00
parent f3d206da43
commit 42dfb536bd
10 changed files with 380 additions and 5 deletions

View File

@@ -2,16 +2,19 @@
<div class="welcome">
<!-- <a title="欢迎Star" href="https://github.com/xiaoxian521/CURD-TS" target="_blank">点击打开仓库地址</a> -->
<flop />
<CountTo prefix="$" :startVal="1" :endVal="200" />
</div>
</template>
<script lang='ts'>
import flop from "../components/flop/index.vue"
import flop from "../components/flop/index.vue";
import CountTo from "../components/countTo/src/index.vue";
export default {
name: "welcome",
components: {
flop
},
flop,
CountTo
}
};
</script>