From 295e66b7c355be0a29a6d2454d725b48d6ae9bd8 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 13 Jun 2024 09:43:29 +0300 Subject: [PATCH] Updated css layer docs --- apps/showcase/doc/dialog/HeadlessDoc.vue | 76 +++++-------------- .../nuxt/configuration/CSSLayerOrderDoc.vue | 39 ---------- apps/showcase/doc/tailwind/OverrideDoc.vue | 10 +-- .../doc/tailwind/samples/HeadlessDoc.vue | 20 ++--- .../styled/configuration/OptionsDoc.vue | 40 +++++++++- apps/showcase/error.vue | 4 +- apps/showcase/pages/nuxt/index.vue | 6 -- packages/nuxt-module/src/module.ts | 2 +- packages/nuxt-module/src/types.d.ts | 2 +- 9 files changed, 77 insertions(+), 122 deletions(-) delete mode 100644 apps/showcase/doc/nuxt/configuration/CSSLayerOrderDoc.vue diff --git a/apps/showcase/doc/dialog/HeadlessDoc.vue b/apps/showcase/doc/dialog/HeadlessDoc.vue index a046e92a2..fba7a3ef9 100644 --- a/apps/showcase/doc/dialog/HeadlessDoc.vue +++ b/apps/showcase/doc/dialog/HeadlessDoc.vue @@ -5,16 +5,7 @@
diff --git a/apps/showcase/pages/nuxt/index.vue b/apps/showcase/pages/nuxt/index.vue index 5e5aceab0..1cccced5b 100644 --- a/apps/showcase/pages/nuxt/index.vue +++ b/apps/showcase/pages/nuxt/index.vue @@ -22,7 +22,6 @@ import DownloadDoc from '@/doc/nuxt/DownloadDoc.vue'; import ExamplesDoc from '@/doc/nuxt/ExamplesDoc.vue'; import SetupDoc from '@/doc/nuxt/SetupDoc.vue'; import UsageDoc from '@/doc/nuxt/UsageDoc.vue'; -import CSSLayerOrderDoc from '@/doc/nuxt/configuration/CSSLayerOrderDoc.vue'; import ComponentsDoc from '@/doc/nuxt/configuration/ComponentsDoc.vue'; import ComposablesDoc from '@/doc/nuxt/configuration/ComposablesDoc.vue'; import DirectivesDoc from '@/doc/nuxt/configuration/DirectivesDoc.vue'; @@ -88,11 +87,6 @@ export default { id: 'importtheme', label: 'importTheme', component: ImportThemeDoc - }, - { - id: 'layerorder', - label: 'cssLayerOrder', - component: CSSLayerOrderDoc } ] }, diff --git a/packages/nuxt-module/src/module.ts b/packages/nuxt-module/src/module.ts index b364ee03a..29e922dd8 100644 --- a/packages/nuxt-module/src/module.ts +++ b/packages/nuxt-module/src/module.ts @@ -14,7 +14,7 @@ export default defineNuxtModule({ defaults: { usePrimeVue: true, resolvePath: undefined, - cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities', + //cssLayerOrder: undefined, importPT: undefined, importTheme: undefined, options: {}, diff --git a/packages/nuxt-module/src/types.d.ts b/packages/nuxt-module/src/types.d.ts index b5e117ffb..40717d6b3 100644 --- a/packages/nuxt-module/src/types.d.ts +++ b/packages/nuxt-module/src/types.d.ts @@ -10,7 +10,7 @@ export interface ConstructsType { export interface ModuleOptions { usePrimeVue?: boolean; resolvePath?: any; - cssLayerOrder?: string; + /*cssLayerOrder?: string;*/ importPT?: ImportOptions; importTheme?: ImportOptions; options?: PrimeVueOptions;