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:
parent
b27e3655d1
commit
82acb354ca
9 changed files with 975 additions and 5 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue