-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
50 lines (43 loc) · 1.2 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { defineNuxtConfig } from "nuxt/config";
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
"@nuxtjs/tailwindcss",
"@vueuse/nuxt",
"@morev/vue-transitions/nuxt",
"nuxt-icon",
[
"@pinia/nuxt",
{ autoImports: ["defineStore", ["defineStore", "definePiniaStore"]] },
],
"dayjs-nuxt",
],
pinia: {
storesDirs: ["./stores/**"],
},
devServer: {
port: 3000,
},
dayjs: {
locales: ["es", "en"],
plugins: ["relativeTime", "utc", "timezone"],
defaultLocale: "es",
},
// app: {
// layoutTransition: { name: "layout", mode: "out-in" },
// pageTransition: { name: "page", mode: "out-in" },
// },
runtimeConfig: {
notionSecret: process.env.NOTION_API_KEY,
homePage: process.env.NOTION_HOME_ID,
aboutPage: process.env.NOTION_ABOUT_ID,
blogPage: process.env.NOTION_BLOG_ID,
portfolioPage: process.env.NOTION_PORTFOLIO_ID,
linkTreePage: process.env.NOTION_LINK_TREE_ID,
environment: process.env.APP_ENVIRONMENT,
devEnv: process.env.DEVELOPMENT_STAGE,
prodEnv: process.env.PRODUCTION_STAGE,
},
compatibilityDate: "2024-09-29",
});