iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🛝
Enabling Individual Slide Links in Slidev SPA Builds
Simply add the following setting in the FrontMatter.
routerMode: hash
The default value is routerMode: 'history'.
The URL of each page will use # instead of / as a separator.
-
routerMode: history-> http://localhost:3030/12 (default) -
routerMode: hash-> http://localhost:3030/#/12
Related documentation: Customization | Slidev
Discussion