Commit 82dad912 authored by Bill's avatar Bill
Browse files
parents 858170e2 9c965abf
Loading
Loading
Loading
Loading
+15 −6
Original line number Diff line number Diff line
@@ -52,20 +52,29 @@ jobs:
      run: date

    - uses: actions/setup-node@v3
      name: Install Node.js
      with:
        node-version: '18'
        node-version-file: '.nvmrc'

    - uses: pnpm/action-setup@v2
      name: Install pnpm
      with:
        version: 8
        # pnpm、node兼容性矩阵:https://pnpm.io/installation#compatibility

    - name: Install Dependencies
      run: yarn install
      run: pnpm install

    - name: Check yarn / node version
    - name: Check pnpm / node version
      run: |
        echo "yarn version `yarn --version`"
        echo "pnpm version `pnpm --version`"
        echo "node version `node -v`"
        yarn list --pattern vuepress
        pnpm list

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

    - name: Upload artifact
      uses: actions/upload-artifact@v3
+1 −1
Original line number Diff line number Diff line
lts/*
v18
 No newline at end of file
+3 −2
Original line number Diff line number Diff line
@@ -28,9 +28,10 @@ Online manual for SUSTecher.
    2. 提交规范编写的Word,Markdown 文件给管理员。
    3. 管理员整理上传。

### 编写规范
### 编译版本

* 使用 Markdown 和 raw HTML / JavaScript 语言
* nodejs版本:18
* 推荐包管理器:pnpm

### 版本说明
* 正式线上版本(master 分支构建):https://sustech.online/
+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ 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({
@@ -13,8 +12,9 @@ export default defineClientConfig({
    app.component("TabView", TabView)
    app.component("RealtimeMap", RealtimeMap)
    app.component("WeatherSpan", WeatherSpan)
    app.component("BusChartVue", BusChartVue)

    // 含有echart的组件,注意需要用non-ssr模式
    app.component("BusChartVue", BusChartVue)
    app.component("Canteen", Canteen)
  },
})
+0 −2
Original line number Diff line number Diff line
@@ -10,12 +10,10 @@
<script>
import axios from "axios";
import {
  along,
  length,
  nearestPoint,
  nearestPointOnLine,
  point,
  rhumbBearing,
} from "@turf/turf";
import ECharts from "vue-echarts";
import { use } from "echarts/core";
Loading