forked from BRETT/BRETT
Initial Commit
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
app: {
|
||||
viewTransition: true,
|
||||
head: {
|
||||
link: [
|
||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
||||
{
|
||||
rel: 'stylesheet',
|
||||
href: 'https://fonts.googleapis.com/css2?family=Archivo+Black&family=Fira+Sans:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Jua&family=Lora:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Workbench&family=Figtree:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
experimental: {
|
||||
viewTransition: true,
|
||||
},
|
||||
nitro: {
|
||||
experimental: {
|
||||
websocket: true,
|
||||
},
|
||||
},
|
||||
css: ['~/assets/css/tailwind.css'],
|
||||
compatibilityDate: '2025-01-01',
|
||||
routeRules: {
|
||||
'/uploads': { redirect: '/' },
|
||||
},
|
||||
runtimeConfig: {
|
||||
databaseUrl: process.env.DATABASE_URL ?? '',
|
||||
},
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
modules: ['shadcn-nuxt', '@nuxt/image', '@nuxt/icon'],
|
||||
icon: {
|
||||
mode: 'svg',
|
||||
},
|
||||
image: {
|
||||
// Remote-Domains, für die IPX kleine Placeholder-Varianten erzeugen darf
|
||||
domains: ['i.ytimg.com', 'static-cdn.jtvnw.net'],
|
||||
},
|
||||
shadcn: {
|
||||
/**
|
||||
* Prefix for all the imported component.
|
||||
* @default "Ui"
|
||||
*/
|
||||
prefix: 'Ui',
|
||||
/**
|
||||
* Directory that the component lives in.
|
||||
* Will respect the Nuxt aliases.
|
||||
* @link https://nuxt.com/docs/api/nuxt-config#alias
|
||||
* @default "@/components/ui"
|
||||
*/
|
||||
componentDir: '@/components/ui',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user