mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 14:10:52 +01:00
zwischenstand
This commit is contained in:
@ -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,
|
||||
},
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user