Commit d961a597 authored by liziwl's avatar liziwl
Browse files

fix build

parent 5e9ccb55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ jobs:
        yarn list --pattern vuepress

    - name: Build Site
      run: yarn docs:build
      run: |
        yarn docs:clean
        yarn docs:build

    - name: Upload artifact
      uses: actions/upload-artifact@v3
+2 −4
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@ import BusTable from "./components/BusTable.vue";
import TabView from "./components/TabView.vue";
import RealtimeMap from './components/RealtimeMap.vue'
import WeatherSpan from './components/weather-span.vue'
import BusChartVue from './components/BusChartVue.vue'
import Canteen from './components/Canteen.vue'

export default defineClientConfig({
  enhance({ app }) {
@@ -12,7 +10,7 @@ export default defineClientConfig({
    app.component("TabView", TabView)
    app.component("RealtimeMap", RealtimeMap)
    app.component("WeatherSpan", WeatherSpan)
    app.component("BusChartVue", BusChartVue)
    app.component("Canteen", Canteen)
    app.component("BusChartVue", () => import('./components/BusChartVue.vue'))
    app.component("Canteen", () => import('./components/Canteen.vue'))
  },
})