Skip to content

Commit

Permalink
feat: add externalVue config for nuxt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 27, 2022
1 parent a833d68 commit 513c401
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion vant/nuxt3/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -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,
},
});
4 changes: 2 additions & 2 deletions vant/nuxt3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 513c401

Please sign in to comment.