mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-31 20:28:07 +01:00
Add runtime config into nuxt app
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable node/prefer-global/process */
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
srcDir: 'src',
|
srcDir: 'src',
|
||||||
|
|
||||||
@@ -10,9 +11,9 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
|
'@nuxt/ui',
|
||||||
'@nuxt/content',
|
'@nuxt/content',
|
||||||
'@nuxtjs/seo',
|
'@nuxtjs/seo',
|
||||||
'@nuxt/ui',
|
|
||||||
'nuxt-auth-utils',
|
'nuxt-auth-utils',
|
||||||
'@nuxthq/studio',
|
'@nuxthq/studio',
|
||||||
'@pinia/nuxt',
|
'@pinia/nuxt',
|
||||||
@@ -31,7 +32,7 @@ export default defineNuxtConfig({
|
|||||||
'components/',
|
'components/',
|
||||||
'components/header',
|
'components/header',
|
||||||
'components/resume',
|
'components/resume',
|
||||||
'components/maths',
|
'components/main',
|
||||||
],
|
],
|
||||||
|
|
||||||
content: {
|
content: {
|
||||||
@@ -57,4 +58,13 @@ export default defineNuxtConfig({
|
|||||||
name: 'My portfolio',
|
name: 'My portfolio',
|
||||||
description: 'Developer enjoying Cloud Infrastructure and Artificial Intelligence. Mathematics Student at Paris-Saclay',
|
description: 'Developer enjoying Cloud Infrastructure and Artificial Intelligence. Mathematics Student at Paris-Saclay',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
runtimeConfig: {
|
||||||
|
discordUserId: process.env.NUXT_DISCORD_USER_ID,
|
||||||
|
wakatimeUserId: process.env.NUXT_WAKATIME_USER_UD,
|
||||||
|
wakatimeCodig: process.env.NUXT_WAKATIME_CODING,
|
||||||
|
wakatimeEditors: process.env.NUXT_WAKATIME_EDITORS,
|
||||||
|
wakatimeLanguages: process.env.NUXT_WAKATIME_LANGUAGES,
|
||||||
|
wakatimeOs: process.env.NUXT_WAKATIME_OS,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user