wallet-connect-web-examples/advanced/dapps/vue-dapp-auth/nuxt.config.ts
Glitch deb123f283
restructure (#345)
* restructure

* udpate readme links
2023-12-13 15:36:25 -03:00

30 lines
792 B
TypeScript

import { version as authClientVersion } from '@walletconnect/auth-client/package.json'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'nuxt-icon',
'@vueuse/nuxt',
'@pinia/nuxt',
],
tailwindcss: {
cssPath: '~/assets/scss/tailwind.scss',
},
runtimeConfig: {
public: {
/**
* Avoiding framework-specific prefixes for env vars
* see https://v3.nuxtjs.org/guide/features/runtime-config/#environment-variables
*/
WALLETCONNECT_PROJECT_ID: process.env.WALLETCONNECT_PROJECT_ID ?? '',
WALLETCONNECT_RELAY_URL: process.env.WALLETCONNECT_RELAY_URL ?? 'wss://relay.walletconnect.com',
authClientVersion,
},
},
})