3bfa54b4b3
- Nuxt 3 project with @nuxtjs/tailwindcss module - Tailwind CSS config with A0 Dark Theme design tokens (CSS custom properties) - AppHeader: sticky, logo, nav, phone, social icons, mobile burger menu - AppFooter: 4-column grid (Navigation, Kontakt, Rechtliches, Social) - HmsLogo: SVG with orange #EC6925 border - error.vue: 404 page with Seite nicht gefunden - robots.txt server route: Disallow: / - Meta: noindex, nofollow, noarchive, nosnippet - JSON-LD: LocalBusiness schema - OpenGraph tags - routeRules: SSR/CSR per route - Shared components: LoadingSkeleton, EmptyState, ErrorState, LegalContentPage, SpeakerIcon - 42 vitest tests passing - Build: 0 errors
17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "happy-dom",
|
|
globals: true,
|
|
include: ["tests/unit/**/*.test.ts"],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"~": fileURLToPath(new URL("./", import.meta.url)),
|
|
"#app": fileURLToPath(new URL("./node_modules/nuxt/dist/app", import.meta.url)),
|
|
},
|
|
},
|
|
});
|