8 primevue install (#9)

* Added PrimeVue with TailwindCSS support and modified Homepage to test the changes.

* Configured vitest to use PrimeVue and wrote a quick test for home page
This commit is contained in:
Liviu Burcusel 2025-10-26 19:54:14 +01:00 committed by GitHub
parent b27e3655d1
commit 82acb354ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 975 additions and 5 deletions

View file

@ -1,4 +1,7 @@
import { vi } from "vitest";
import { config } from "@vue/test-utils";
import PrimeVue from "primevue/config";
import Button from "primevue/button";
Object.defineProperty(global, "import", {
value: {
@ -8,3 +11,7 @@ Object.defineProperty(global, "import", {
},
writable: true,
});
config.global.plugins = [PrimeVue];
config.global.stubs = { NuxtPage: true };
config.global.components = { Button };