Todo app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
863 B

4 weeks ago
import Aura from "@primevue/themes/aura";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-11-01",
css: [
"primeicons/primeicons.css",
"~/assets/css/style.css"
4 weeks ago
],
devtools: { enabled: true },
dir: {
public: "../public"
},
4 weeks ago
modules: [
"@nuxt/eslint",
"@pinia/nuxt",
"@primevue/nuxt-module",
"pinia-plugin-persistedstate/nuxt",
4 weeks ago
],
pinia: {
storesDirs: ["src/stores/**"] // also auto-import nested directories
},
piniaPluginPersistedstate: {
debug: process.env.NODE_ENV === "development", // log error to console
storage: "cookies",
cookieOptions: {
sameSite: "lax", // prevent CSRF
secure: process.env.NODE_ENV !== "development" // only send over HTTPS
}
},
4 weeks ago
primevue: {
options: {
theme: {
preset: Aura
}
}
},
srcDir: "src/",
ssr: false
})