18 lines
554 B
JavaScript
18 lines
554 B
JavaScript
import { defineClientConfig } from 'vuepress/client'
|
|
import { createPinia } from 'pinia'
|
|
import WithAuth from './components/WithAuth.vue'
|
|
import Login from './components/Login.vue'
|
|
import helperHTML from './components/helperHTML.vue'
|
|
import longPic from './components/longPic.vue'
|
|
|
|
export default defineClientConfig({
|
|
enhance({ app }) {
|
|
const pinia = createPinia()
|
|
app.use(pinia)
|
|
app.component('WithAuth', WithAuth)
|
|
app.component('Login', Login)
|
|
app.component('helperHTML', helperHTML)
|
|
app.component('longPic', longPic)
|
|
},
|
|
})
|