-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
34 lines (34 loc) · 1.16 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
// https://nuxt.com/docs/api/configuration/nuxt-config
// require('dotenv').config()
export default defineNuxtConfig({
devtools: { enabled: true },
plugins: [
{ src: '~/plugins/polkadot-api.ts', mode: 'client' }, // Ensures the plugin is ony exelcuted client-side
{ src: '~/plugins/polkadot-wallet.ts', mode: 'client' },
{ src: '~/plugins/firebase-init.ts', mode: 'client' },
],
runtimeConfig: {
public:{
//
PUBLIC_adminList: process.env.PUBLIC_adminList,
// firebaseConfig
PUBLIC_apiKey: process.env.PUBLIC_apiKey,
PUBLIC_authDomain: process.env.PUBLIC_authDomain,
PUBLIC_projectId: process.env.PUBLIC_projectId,
PUBLIC_storageBucket: process.env.PUBLIC_storageBucket,
PUBLIC_messagingSenderId: process.env.PUBLIC_messagingSenderId,
PUBLIC_appId: process.env.PUBLIC_appId,
PUBLIC_measurementId: process.env.PUBLIC_measurementId,
}
},
// css: ['~/assets/css/tailwind.css'],
// build: {
// postcss: {
// postcssOptions: require('./postcss.config.js'), // Optional: only if you have other PostCSS config
// },
// },
modules: [
'@pinia/nuxt',
// '@nuxtjs/dotenv',
],
})