2024-07-02 15:07:22 +00:00
|
|
|
import vuetify, { transformAssetUrls } from "vite-plugin-vuetify"
|
|
|
|
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
devtools: { enabled: true },
|
2024-08-10 05:26:58 +00:00
|
|
|
|
2024-07-02 15:07:22 +00:00
|
|
|
app: {
|
|
|
|
head: {
|
|
|
|
title: "Solsynth LLC",
|
|
|
|
titleTemplate: "%s | Solsynth",
|
|
|
|
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }],
|
|
|
|
},
|
|
|
|
},
|
2024-08-10 05:26:58 +00:00
|
|
|
|
2024-07-02 15:07:22 +00:00
|
|
|
content: {
|
|
|
|
api: {
|
|
|
|
baseURL: "/api/content",
|
|
|
|
},
|
|
|
|
highlight: {
|
|
|
|
theme: "github-dark",
|
|
|
|
},
|
|
|
|
},
|
2024-08-10 05:26:58 +00:00
|
|
|
|
2024-07-02 15:07:22 +00:00
|
|
|
build: {
|
|
|
|
transpile: ["vuetify"],
|
|
|
|
},
|
2024-08-10 05:26:58 +00:00
|
|
|
|
2024-07-02 15:07:22 +00:00
|
|
|
modules: [
|
|
|
|
"@unocss/nuxt",
|
|
|
|
"@nuxt/content",
|
|
|
|
"@nuxt/image",
|
|
|
|
(_options, nuxt) => {
|
|
|
|
nuxt.hooks.hook("vite:extendConfig", (config) => {
|
|
|
|
// @ts-expect-error
|
|
|
|
config.plugins.push(vuetify({ autoImport: true }))
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//...
|
|
|
|
],
|
2024-08-10 05:26:58 +00:00
|
|
|
|
2024-07-02 15:07:22 +00:00
|
|
|
vite: {
|
|
|
|
vue: {
|
|
|
|
template: {
|
|
|
|
transformAssetUrls,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-08-10 05:26:58 +00:00
|
|
|
|
|
|
|
compatibilityDate: "2024-08-10",
|
|
|
|
})
|