feat(docs): add StepBar component for progress tracking

Introduce a reusable StepBar component to replace inline step progress indicators
Update documentation pages to use the new component for consistent progress display
This commit is contained in:
sanbuphy
2026-01-13 10:56:59 +08:00
parent 07fad27e81
commit c2152498a4
3 changed files with 65 additions and 18 deletions
+2
View File
@@ -7,11 +7,13 @@ import TypeIt from 'typeit'
import { onMounted, watch, nextTick } from 'vue'
import { useRoute, useData } from 'vitepress'
import './style.css'
import StepBar from './components/StepBar.vue'
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.use(ElementPlus)
app.component('StepBar', StepBar)
},
setup() {
const route = useRoute()