Commit eb9ff60a authored by liziwl's avatar liziwl
Browse files

fix #108,解决上游兼容性问题

parent 4b1c656b
import {defineClientAppEnhance} from '@vuepress/client'
import { defineClientConfig } from '@vuepress/client'
import BusTable from "./components/BusTable.vue";
import Realtimemap from './components/Realtime-map.vue'
import WeatherSpan from './components/weather-span.vue'
// import AdsenseUnit from './components/adsense-inline-article.vue'
export default defineClientAppEnhance(({app, router, siteData}) => {
export default defineClientConfig({
enhance({ app }) {
app.component("BusTable", BusTable)
app.component("Realtimemap", Realtimemap)
app.component("WeatherSpan", WeatherSpan)
// app.component("AdsenseUnit", AdsenseUnit)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment