Skip to content

Commit 09528b7

Browse files
Test
1 parent 963f5fe commit 09528b7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NODE_VERSION = "15"
33

44
[build]
55
publish = "dist/"
6-
command = "npm run build"
6+
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
77

88
[[redirects]]
99
from = "/*"

src/layouts/article.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'w-1.5 h-1.5': h.type == 'H3',
3030
'w-1 h-1': h.type == 'H4',
3131
'bg-pink-600': current == h.hash,
32-
'bg-gray-500 group-hover:bg-gray-200': current != h.hash
32+
'bg-gray-500 group-hover:bg-gray-300': current != h.hash
3333
}"
3434
></span>
3535
</span>
@@ -56,8 +56,7 @@
5656

5757
<script setup>
5858
import { useRoute } from 'vue-router'
59-
import { onMounted, onUpdated, ref, nextTick, computed } from 'vue'
60-
import { debounce, functionsIn } from 'lodash-es'
59+
import { onMounted, onUpdated, ref, computed } from 'vue'
6160
6261
ref: index = 0;
6362
ref: sections = [];

0 commit comments

Comments
 (0)