index.ts 564 B

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