提交 4e09a1c8 编写于 作者: Q qq_35891206

Fri Sep 1 15:06:01 CST 2023 inscode

上级 ea09cd2e
......@@ -10,7 +10,8 @@
"diff2html": "^3.4.41",
"guess": "^1.0.2",
"vue": "^3.2.37",
"vue-router": "^4.2.4"
"vue-router": "^4.2.4",
"vue-typed-js": "^0.1.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.1",
......
......@@ -2,7 +2,20 @@
</script>
<template>
<router-view />
123
<vue-typed-js
:strings="['测试哈哈哈<span>168</span>']"
:shuffle="true"
:typeSpeed="20"
:fadeOutClass="'fadeOutClass'"
:loop="true"
:loopCount="1"
:startDelay="500"
:showCursor="false"
:contentType="'html'"
>
<p class="typing"></p>
</vue-typed-js>
</template>
<style scoped>
......
......@@ -2,6 +2,8 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import VueTypedJs from 'vue-typed-js'
import './assets/main.css'
createApp(App).use(router).mount('#app')
createApp(App).use(router).use(VueTypedJs).mount('#app')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册