From 513c401dcf534b3269b02951c272c95877ddd8ab Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 27 Aug 2022 15:06:12 +0800 Subject: [PATCH] feat: add externalVue config for nuxt 3 --- vant/nuxt3/nuxt.config.ts | 6 +++++- vant/nuxt3/package.json | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/vant/nuxt3/nuxt.config.ts b/vant/nuxt3/nuxt.config.ts index 6a897f7..7ce6210 100644 --- a/vant/nuxt3/nuxt.config.ts +++ b/vant/nuxt3/nuxt.config.ts @@ -1,4 +1,8 @@ import { defineNuxtConfig } from 'nuxt'; // https://v3.nuxtjs.org/docs/directory-structure/nuxt.config -export default defineNuxtConfig({}); +export default defineNuxtConfig({ + experimental: { + externalVue: true, + }, +}); diff --git a/vant/nuxt3/package.json b/vant/nuxt3/package.json index 1002f3d..c9361ea 100644 --- a/vant/nuxt3/package.json +++ b/vant/nuxt3/package.json @@ -7,9 +7,9 @@ }, "devDependencies": { "less": "^4.1.2", - "nuxt": "3.0.0-rc.3" + "nuxt": "3.0.0-rc.8" }, "dependencies": { - "vant": "3.5.0" + "vant": "3.6.1" } }