IT4C.dev/docs/.vuepress/client.ts
Ulf Gebhardt 33310a43c5
refactor(other): eslint config it4c advanced (#650)
* rename test:lint:eslint to lint and update eslint-config-it4c package

* simplify config and make it ts

* jest update & ts

* suppress server logging output in tests

* remove test node_env as it is default for jest

* use eslint-config-it4c

* packages = module

* fix tailwind as ts

* eslitn autofix

* more fixes

* tsconfig & some eslint rules

* fixes

* more fixes

* more exceptions

* do not allow warnings

* fix config

* ignore vuepress generated configs

* ts include fix
2026-02-14 17:34:37 +01:00

33 lines
1.2 KiB
TypeScript

import { defineClientConfig } from 'vuepress/client'
import { setupTransparentNavbar } from 'vuepress-theme-hope/presets/transparentNavbar.js'
import CaptionedImage from './components/CaptionedImage.vue'
import ContactForm from './components/ContactForm.vue'
import ContentSection from './components/ContentSection.vue'
import ProcessStep from './components/ProcessStep.vue'
import ProjectCard from './components/ProjectCard.vue'
import ServiceCard from './components/ServiceCard.vue'
import TeamMember from './components/TeamMember.vue'
import VPFooter from './components/VPFooter.vue'
import BlankLayout from './layouts/BlankLayout.vue'
export default defineClientConfig({
enhance({ app }) {
app.component('ContactForm', ContactForm)
app.component('ContentSection', ContentSection)
app.component('VPFooter', VPFooter)
app.component('ProcessStep', ProcessStep)
app.component('ProjectCard', ProjectCard)
app.component('TeamMember', TeamMember)
app.component('ServiceCard', ServiceCard)
app.component('CaptionedImage', CaptionedImage)
},
setup() {
setupTransparentNavbar({ type: 'homepage' })
},
layouts: {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
BlankLayout,
},
})