mirror of
https://codeberg.org/Sevichecc/Seigwai.git
synced 2025-04-30 07:49:30 +08:00
26 lines
No EOL
1.1 KiB
TypeScript
26 lines
No EOL
1.1 KiB
TypeScript
import { NuxtModule, RuntimeConfig } from 'nuxt/schema'
|
|
declare module 'nuxt/schema' {
|
|
interface NuxtConfig {
|
|
["tailwindcss"]?: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
["devtools"]?: typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
modules?: (undefined | null | false | NuxtModule | string | [NuxtModule | string, Record<string, any>] | ["@nuxtjs/tailwindcss", Exclude<NuxtConfig["tailwindcss"], boolean>] | ["@nuxt/devtools", Exclude<NuxtConfig["devtools"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
|
}
|
|
interface RuntimeConfig {
|
|
app: {
|
|
baseURL: string,
|
|
|
|
buildAssetsDir: string,
|
|
|
|
cdnURL: string,
|
|
},
|
|
}
|
|
interface PublicRuntimeConfig {
|
|
|
|
}
|
|
}
|
|
declare module 'vue' {
|
|
interface ComponentCustomProperties {
|
|
$config: RuntimeConfig
|
|
}
|
|
} |