47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import { resolve } from "path";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
experimental: {
|
|
polyfillVueUseHead: false
|
|
},
|
|
modules: ["nuxt-electron"],
|
|
electron: {
|
|
build: [
|
|
{
|
|
// Main-Process entry file of the Electron App.
|
|
entry: "electron/main.ts",
|
|
},
|
|
],
|
|
},
|
|
devtools: { enabled: false },
|
|
app: {
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
head: {
|
|
title: "showroom",
|
|
htmlAttrs: {
|
|
lang: "en",
|
|
},
|
|
meta: [
|
|
{ charset: "utf-8" },
|
|
{ name: "viewport", content: "width=device-width, initial-scale=1" },
|
|
{ hid: "description", name: "description", content: "" },
|
|
{ name: "format-detection", content: "telephone=no" },
|
|
],
|
|
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
|
|
},
|
|
},
|
|
|
|
// Global CSS: https://go.nuxtjs.dev/config-css
|
|
css: ["~/static/scss/style.scss"],
|
|
plugins: [
|
|
{ src: "~/plugins/boostrap.ts", mode: "client" },
|
|
{ src: "~/plugins/fontawesome.ts", mode: "client" },
|
|
{ src: "~/plugins/localStorage.ts", mode: "client" },
|
|
],
|
|
|
|
alias: {
|
|
images: resolve(__dirname, "./static/assets/images"),
|
|
data: resolve(__dirname, "./static/data"),
|
|
}
|
|
});
|