2b69686795
- 新增404页面,优化未找到页面体验,避免被搜索引擎索引 - 增加文件代理接口,隐藏真实文件服务器地址,支持文件请求代理 - 实现/article、/case、/product及/page动态路由兼容列表与详情展示 - 添加动态CMS页面兼容入口处理旧式路径,统一路由与SEO设置 - 新增模板1、模板7、模板2、模板3关于我们页面,实现多模板支持 - 模板增强支持CMS单页内容加载及SEO信息动态设置 - 配置环境变量及Git忽略文件规则辅助开发和构建环境管理
99 lines
6.2 KiB
TypeScript
99 lines
6.2 KiB
TypeScript
import { NuxtModule, ModuleDependencyMeta } from '@nuxt/schema'
|
|
declare module '@nuxt/schema' {
|
|
interface ModuleDependencies {
|
|
["@nuxtjs/tailwindcss"]?: ModuleDependencyMeta<typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["ant-design-vue"]?: ModuleDependencyMeta<typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["@nuxt/devtools"]?: ModuleDependencyMeta<typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["@nuxt/telemetry"]?: ModuleDependencyMeta<typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
}
|
|
interface NuxtOptions {
|
|
/**
|
|
* Configuration for `@nuxtjs/tailwindcss`
|
|
*/
|
|
["tailwindcss"]: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@ant-design-vue/nuxt`
|
|
*/
|
|
["antd"]: typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/devtools`
|
|
*/
|
|
["devtools"]: typeof import("@nuxt/devtools").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/telemetry`
|
|
*/
|
|
["telemetry"]: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
}
|
|
interface NuxtConfig {
|
|
/**
|
|
* Configuration for `@nuxtjs/tailwindcss`
|
|
*/
|
|
["tailwindcss"]?: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@ant-design-vue/nuxt`
|
|
*/
|
|
["antd"]?: typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/devtools`
|
|
*/
|
|
["devtools"]?: typeof import("@nuxt/devtools").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/telemetry`
|
|
*/
|
|
["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
modules?: (undefined | null | false | NuxtModule<any> | string | [NuxtModule | string, Record<string, any>] | ["@nuxtjs/tailwindcss", Exclude<NuxtConfig["tailwindcss"], boolean>] | ["@ant-design-vue/nuxt", Exclude<NuxtConfig["antd"], boolean>] | ["@nuxt/devtools", Exclude<NuxtConfig["devtools"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
|
}
|
|
}
|
|
declare module 'nuxt/schema' {
|
|
interface ModuleDependencies {
|
|
["@nuxtjs/tailwindcss"]?: ModuleDependencyMeta<typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["ant-design-vue"]?: ModuleDependencyMeta<typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["@nuxt/devtools"]?: ModuleDependencyMeta<typeof import("@nuxt/devtools").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
["@nuxt/telemetry"]?: ModuleDependencyMeta<typeof import("@nuxt/telemetry").default extends NuxtModule<infer O> ? O | false : Record<string, unknown>> | false
|
|
}
|
|
interface NuxtOptions {
|
|
/**
|
|
* Configuration for `@nuxtjs/tailwindcss`
|
|
* @see https://www.npmjs.com/package/@nuxtjs/tailwindcss
|
|
*/
|
|
["tailwindcss"]: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@ant-design-vue/nuxt`
|
|
* @see https://www.npmjs.com/package/@ant-design-vue/nuxt
|
|
*/
|
|
["antd"]: typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/devtools`
|
|
* @see https://www.npmjs.com/package/@nuxt/devtools
|
|
*/
|
|
["devtools"]: typeof import("@nuxt/devtools").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/telemetry`
|
|
* @see https://www.npmjs.com/package/@nuxt/telemetry
|
|
*/
|
|
["telemetry"]: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O, unknown, boolean> ? O | false : Record<string, any> | false
|
|
}
|
|
interface NuxtConfig {
|
|
/**
|
|
* Configuration for `@nuxtjs/tailwindcss`
|
|
* @see https://www.npmjs.com/package/@nuxtjs/tailwindcss
|
|
*/
|
|
["tailwindcss"]?: typeof import("@nuxtjs/tailwindcss").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@ant-design-vue/nuxt`
|
|
* @see https://www.npmjs.com/package/@ant-design-vue/nuxt
|
|
*/
|
|
["antd"]?: typeof import("@ant-design-vue/nuxt").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/devtools`
|
|
* @see https://www.npmjs.com/package/@nuxt/devtools
|
|
*/
|
|
["devtools"]?: typeof import("@nuxt/devtools").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
/**
|
|
* Configuration for `@nuxt/telemetry`
|
|
* @see https://www.npmjs.com/package/@nuxt/telemetry
|
|
*/
|
|
["telemetry"]?: typeof import("@nuxt/telemetry").default extends NuxtModule<infer O, unknown, boolean> ? Partial<O> | false : Record<string, any> | false
|
|
modules?: (undefined | null | false | NuxtModule<any> | string | [NuxtModule | string, Record<string, any>] | ["@nuxtjs/tailwindcss", Exclude<NuxtConfig["tailwindcss"], boolean>] | ["@ant-design-vue/nuxt", Exclude<NuxtConfig["antd"], boolean>] | ["@nuxt/devtools", Exclude<NuxtConfig["devtools"], boolean>] | ["@nuxt/telemetry", Exclude<NuxtConfig["telemetry"], boolean>])[],
|
|
}
|
|
} |