Format nuxt.config.ts
parent
8879b96c18
commit
52760dd2a8
@ -1,60 +1,61 @@
|
|||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: [
|
modules: [
|
||||||
'@nuxtjs/supabase',
|
'@nuxtjs/supabase',
|
||||||
'@nuxtjs/tailwindcss',
|
'@nuxtjs/tailwindcss',
|
||||||
'nuxt-icon',
|
'nuxt-icon',
|
||||||
'@pinia/nuxt',
|
'@pinia/nuxt',
|
||||||
'@vueuse/nuxt',
|
'@vueuse/nuxt',
|
||||||
'@nuxt/devtools',
|
'@nuxt/devtools',
|
||||||
],
|
],
|
||||||
app: {
|
app: {
|
||||||
pageTransition: false,
|
pageTransition: false,
|
||||||
layoutTransition: false,
|
layoutTransition: false,
|
||||||
},
|
},
|
||||||
alias: {
|
alias: {
|
||||||
'@logo': '/assets/logo',
|
'@logo': '/assets/logo',
|
||||||
'@assets': '/assets',
|
'@assets': '/assets',
|
||||||
'@stores': '/stores',
|
'@stores': '/stores',
|
||||||
},
|
},
|
||||||
tailwindcss: {
|
tailwindcss: {
|
||||||
config: {
|
config: {
|
||||||
content: [],
|
content: [],
|
||||||
important: false,
|
important: false,
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
primary: '#0c0c0d',
|
primary: '#0c0c0d',
|
||||||
secondary: '#18181b',
|
secondary: '#18181b',
|
||||||
darkgray: '#121213',
|
darkgray: '#121213',
|
||||||
lightgray: '#27272a',
|
lightgray: '#27272a',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// uncomment when syntax highlight
|
// uncomment when syntax highlight
|
||||||
// is enable for markdown (highlight.js)
|
// is enable for markdown (highlight.js)
|
||||||
// typography: {
|
// typography: {
|
||||||
// default: {
|
// default: {
|
||||||
// css: {
|
// css: {
|
||||||
// 'pre': null,
|
// 'pre': null,
|
||||||
// 'code': null,
|
// 'code': null,
|
||||||
// 'code::before': null,
|
// 'code::before': null,
|
||||||
// 'code::after': null,
|
// 'code::after': null,
|
||||||
// 'pre code': null,
|
// 'pre code': null,
|
||||||
// 'pre code::before': null,
|
// 'pre code::before': null,
|
||||||
// 'pre code::after': null,
|
// 'pre code::after': null,
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
plugins: [require('@tailwindcss/typography')],
|
plugins: [require('@tailwindcss/typography')],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
typescript: {
|
typescript: {
|
||||||
strict: true,
|
strict: true,
|
||||||
},
|
},
|
||||||
supabase: {
|
supabase: {
|
||||||
url: process.env.SUPABASE_URL,
|
url: process.env.SUPABASE_URL,
|
||||||
key: process.env.SUPABASE_KEY,
|
key: process.env.SUPABASE_KEY,
|
||||||
serviceKey: process.env.SUPABASE_SERVICE_KEY,
|
serviceKey: process.env.SUPABASE_SERVICE_KEY,
|
||||||
},
|
},
|
||||||
|
ssr: false,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue