@inzombieland/nuxt-common 1.18.42 → 1.18.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.18.42",
3
+ "version": "1.18.43",
4
4
  "configKey": "nuxt-common",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.6.0",
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url';
2
2
  import { defineNuxtModule, createResolver, addServerHandler, addImportsDir, addPlugin, addComponent } from '@nuxt/kit';
3
3
 
4
4
  const name = "@inzombieland/nuxt-common";
5
- const version = "1.18.42";
5
+ const version = "1.18.43";
6
6
 
7
7
  const module = defineNuxtModule({
8
8
  meta: {
@@ -1,6 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { defineProps, onBeforeMount, onMounted, ref } from "vue"
3
3
  import bus from "./bus"
4
+ import VantConfigProvider from "./vant"
4
5
  import { useThemeMode, useUser } from "./index"
5
6
  import type { ConfigProviderTheme } from "vant"
6
7
 
@@ -33,10 +34,13 @@ export const useBus = () => {
33
34
  :class="{ app: appLoading }"
34
35
  >
35
36
  <slot />
36
- <van-config-provider
37
- v-if="vantEnabled && theme?.value"
38
- :theme="theme?.value as ConfigProviderTheme"
39
- />
37
+
38
+ <span v-if="vantEnabled">
39
+ <VantConfigProvider
40
+ v-if="theme?.value"
41
+ :theme="theme?.value as ConfigProviderTheme"
42
+ />
43
+ </span>
40
44
  </div>
41
45
  </template>
42
46
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/core",
3
- "version": "1.18.42",
3
+ "version": "1.18.43",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -0,0 +1,2 @@
1
+ import ConfigProvider from "vant/es/config-provider";
2
+ export default ConfigProvider;
@@ -0,0 +1,2 @@
1
+ import ConfigProvider from "vant/es/config-provider";
2
+ export default ConfigProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.18.42",
3
+ "version": "1.18.43",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "exports": {