feat: added TOC (#198)

This commit is contained in:
SlimeNull
2024-10-26 00:29:00 +08:00
committed by GitHub
parent d09b80a5b1
commit b5fddf2096
13 changed files with 114 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ export default defineConfig({
animationClass: 'transition-swup-', // see https://swup.js.org/options/#animationselector
// the default value `transition-` cause transition delay
// when the Tailwind class `transition-all` is used
containers: ['main'],
containers: ['main', '#toc'],
smoothScrolling: true,
cache: true,
preload: true,