diff --git a/.github/workflows/gh-page.yml b/.github/workflows/gh-page.yml index 5cd753a..7430208 100644 --- a/.github/workflows/gh-page.yml +++ b/.github/workflows/gh-page.yml @@ -23,9 +23,11 @@ jobs: run: | export PIC_DEPLOY_DIR=/pic_online npm install + set -x ls node_modules/vue-waterfall-plugin-next ls node_modules/vue-waterfall-plugin-next/dist/style.css cat node_modules/vue-waterfall-plugin-next/package.json + set +x npm run build - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@3.6.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5826e90..5f94a91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,11 @@ jobs: - name: Install dependencies 🔧 run: | npm install + set -x + ls node_modules/vue-waterfall-plugin-next + ls node_modules/vue-waterfall-plugin-next/dist/style.css + cat node_modules/vue-waterfall-plugin-next/package.json + set +x - name: Package Artifact 🎁 run: | export PIC_DEPLOY_DIR=${{ matrix.deploy_dir }} diff --git a/package.json b/package.json index 9eaf8e8..72639d6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "vue": "^3.0.0", "vue-i18n": "^9.2.2", "vue-router": "^4.0.0", - "vue-waterfall-plugin-next": "^2.1.11", + "vue-waterfall-plugin-next": "^2.2.0", "vue3-highlightjs": "^1.0.5", "vuex": "^4.0.1" }, diff --git a/src/components/waterfall/PicWaterfall.vue b/src/components/waterfall/PicWaterfall.vue index c38f101..ca8b116 100644 --- a/src/components/waterfall/PicWaterfall.vue +++ b/src/components/waterfall/PicWaterfall.vue @@ -46,7 +46,7 @@ import PicViewer from 'components/commons/PicViewer' // import VueWaterfall from 'vue3-waterfall' // import 'vue3-waterfall/dist/style.css' import {LazyImg, Waterfall as VueWaterfall} from 'vue-waterfall-plugin-next' -import 'vue-waterfall-plugin-next/style.css' +import 'vue-waterfall-plugin-next/dist/style.css' let self = null, viewer = null,