index.ts 487 B

123456789101112131415161718192021222324252627
  1. import type { Theme } from 'vitepress'
  2. import VPTheme from 'vitepress/theme'
  3. import 'uno.css'
  4. import './custom.css'
  5. import TresLayout from './TresLayout.vue'
  6. /* const plausible = createPlausible({
  7. init: {
  8. trackLocalhost: false,
  9. },
  10. settings: {
  11. enableAutoOutboundTracking: true,
  12. enableAutoPageviews: true,
  13. },
  14. partytown: false,
  15. }) */
  16. export default {
  17. ...VPTheme,
  18. /* enhanceApp(ctx) {
  19. ctx.app.use(plausible)
  20. }, */
  21. Layout: TresLayout,
  22. } satisfies Theme