29 lines
686 B
JavaScript
29 lines
686 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import ui from '@nuxt/ui/vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
ui({
|
|
ui: {
|
|
colors: {
|
|
// 'blue' is the closest built-in Nuxt UI token to the exact
|
|
// brand hex (#1B8EF8) — Nuxt UI components (UButton, UBadge,
|
|
// etc.) use this. Custom-built elements (sidebar, cards, dot
|
|
// grid) use the exact hex values directly via main.css, per
|
|
// CLAUDE.md §25.
|
|
primary: 'blue',
|
|
neutral: 'slate'
|
|
}
|
|
}
|
|
})
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': '/src'
|
|
}
|
|
}
|
|
})
|