70 lines
2.1 KiB
TypeScript
70 lines
2.1 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
ssr: true,
|
|
|
|
app: {
|
|
head: {
|
|
title: 'Veridian',
|
|
htmlAttrs: {
|
|
lang: 'en',
|
|
},
|
|
meta: [
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{
|
|
name: 'description',
|
|
content: 'A chat-based AI assistant for your LLMs.',
|
|
},
|
|
{
|
|
name: 'keywords',
|
|
content:
|
|
'LLM, AI, Chat, Assistant, Agent, LLMs, OpenAI, GPT, GPT-3, GPT-4, Claude, ChatGPT, Whisper, Bard, Bing, Anthropic, DeepAI, Dolly, StableLM, Vicuna, Llama, Alpaca, ChatGLM, MOSS, MPT, Codex, Codex2, Codex 3, Codex 4, Falcon, Flan-T5, T5, Llama2, LLaMA, LLaMA2, StableLM, OpenAssistant, OpenChat',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
|
|
vite: {
|
|
server: {
|
|
allowedHosts: true,
|
|
},
|
|
},
|
|
|
|
// bizarely, when I enable this, it adds an 8 second or so lag when I navigate to a different page occasionally
|
|
// experimental: {
|
|
// viewTransition: true,
|
|
// },
|
|
|
|
modules: ['@nuxt/hints', '@nuxt/icon', '@unocss/nuxt', '@nuxtjs/color-mode', 'triplit-nuxt', 'nuxt-shiki'],
|
|
|
|
shiki: {
|
|
bundledThemes: ['vitesse-dark', 'vitesse-light'],
|
|
bundledLangs: ['js', 'jsx', 'json', 'ts', 'tsx', 'vue', 'css', 'html', 'bash', 'md', 'mdc', 'yaml', 'py'],
|
|
defaultTheme: 'vitesse-dark',
|
|
},
|
|
|
|
triplit: {
|
|
schema_path: './triplit/schema.ts',
|
|
serverUrl: process.env.NUXT_PUBLIC_TRIPLIT_URL,
|
|
token: process.env.NUXT_TRIPLIT_ANON_TOKEN,
|
|
storage: 'memory',
|
|
// we will connect automatically in the auth plugin when we call startSession
|
|
autoConnect: false,
|
|
},
|
|
|
|
colorMode: {
|
|
preference: 'system',
|
|
fallback: 'dark',
|
|
storage: 'cookie',
|
|
},
|
|
|
|
devtools: {
|
|
enabled: true,
|
|
|
|
timeline: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
|
|
compatibilityDate: '2025-07-15',
|
|
});
|