[Closes #1] [Closes !5] Migrated from PrimeVue to shadcn
All checks were successful
Production Build and Deploy / Build (push) Successful in 52s
Production Build and Deploy / Deploy (push) Successful in 19s

This commit is contained in:
Liviu Burcusel 2025-12-22 16:20:35 +01:00
parent 7b34c27290
commit 0cec9f5afd
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
123 changed files with 4685 additions and 3607 deletions

View file

@ -1,61 +1,15 @@
import { definePreset } from "@primeuix/themes";
import Aura from "@primeuix/themes/aura";
const defaultPreset = definePreset(Aura, {
semantic: {
primary: {
50: "{teal.50}",
100: "{teal.100}",
200: "{teal.200}",
300: "{teal.300}",
400: "{teal.400}",
500: "{teal.500}",
600: "{teal.600}",
700: "{teal.700}",
800: "{teal.800}",
900: "{teal.900}",
950: "{teal.950}",
},
colorScheme: {
light: {
surface: {
0: "#ffffff",
50: "{slate.50}",
100: "{slate.100}",
200: "{slate.200}",
300: "{slate.300}",
400: "{slate.400}",
500: "{slate.500}",
600: "{slate.600}",
700: "{slate.700}",
800: "{slate.800}",
900: "{slate.900}",
950: "{slate.950}",
},
},
dark: {
surface: {
0: "#000000",
50: "{slate.50}",
100: "{slate.100}",
200: "{slate.200}",
300: "{slate.300}",
400: "{slate.400}",
500: "{slate.500}",
600: "{slate.600}",
700: "{slate.700}",
800: "{slate.800}",
900: "{slate.900}",
950: "{slate.950}",
},
},
},
},
});
import tailwindcss from "@tailwindcss/vite";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
app: {
head: {
htmlAttrs: {
class: "dark",
},
},
},
devtools: { enabled: true },
router: {
options: {
@ -63,17 +17,14 @@ export default defineNuxtConfig({
linkExactActiveClass: "exact-active-route",
},
},
modules: ["@nuxt/eslint", "@nuxtjs/tailwindcss", "@primevue/nuxt-module"],
css: ["~/assets/css/tailwind.css", "~/assets/scss/styles.scss"],
primevue: {
options: {
ripple: true,
theme: {
preset: defaultPreset,
options: {
darkModeSelector: ".app-dark",
},
},
},
vite: {
plugins: [tailwindcss()],
build: { sourcemap: false },
},
modules: ["@nuxt/eslint", "shadcn-nuxt", "@vueuse/nuxt"],
shadcn: {
prefix: "",
componentDir: "~/components/ui",
},
});