zwischenstand

This commit is contained in:
2025-05-22 14:49:22 +02:00
parent 96fd11d3d6
commit 96fa1fb0e4
9 changed files with 901 additions and 1112 deletions

View File

@ -1,32 +1,38 @@
import tailwindcss from "@tailwindcss/vite";
import tailwindcss from '@tailwindcss/vite'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
extends: [
"github:haexhub/haex-base-ui"
],
compatibilityDate: "2024-11-01",
extends: ['github:haexhub/haex-base-ui', { install: true }],
compatibilityDate: '2024-11-01',
imports: {
dirs: ["composables/**", "stores/**", "components/**", "pages/**", "types/**"],
dirs: [
'composables/**',
'stores/**',
'components/**',
'pages/**',
'types/**',
],
},
css: ['./assets/css/tailwind.css'],
icon: {
provider: 'server',
mode: "svg",
mode: 'svg',
clientBundle: {
icons: ["solar:global-outline", "gg:extension", "hugeicons:corporate"],
icons: ['solar:global-outline', 'gg:extension', 'hugeicons:corporate'],
scan: true,
includeCustomCollections: true,
},
serverBundle: { collections: ["mdi", "line-md", "solar", "gg", "emojione"] },
serverBundle: {
collections: ['mdi', 'line-md', 'solar', 'gg', 'emojione'],
},
customCollections: [
{
prefix: 'my-icon',
dir: './src/assets/icons/'
dir: './src/assets/icons/',
},
],
},
@ -52,12 +58,10 @@ export default defineNuxtConfig({
},
}, */
runtimeConfig: {
public: {
haexVault: {
lastVaultFileName: "lastVaults.json",
lastVaultFileName: 'lastVaults.json',
//defaultDatabase: 'src/database/default.db',
},
},
@ -65,11 +69,11 @@ export default defineNuxtConfig({
devtools: { enabled: true },
srcDir: "./src",
srcDir: './src',
// Enable SSG
ssr: false,
// Enables the development server to be discoverable by other devices when running on iOS physical devices
devServer: { host: process.env.TAURI_DEV_HOST || "localhost", port: 3003 },
devServer: { host: process.env.TAURI_DEV_HOST || 'localhost', port: 3003 },
vite: {
plugins: [tailwindcss()],
@ -78,10 +82,10 @@ export default defineNuxtConfig({
// Enable environment variables
// Additional environment variables can be found at
// https://v2.tauri.app/reference/environment-variables/
envPrefix: ["VITE_", "TAURI_"],
envPrefix: ['VITE_', 'TAURI_'],
server: {
// Tauri requires a consistent port
strictPort: true,
},
},
})
})