Skip to content

Commit

Permalink
feat: add excludeExports (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolking committed Apr 22, 2023
1 parent 6b926a5 commit 14538b8
Show file tree
Hide file tree
Showing 6 changed files with 1,301 additions and 1,350 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## Install

```shell
npm i @vant/nuxt -D
npm i vant @vant/nuxt -D
```

```ts
Expand Down Expand Up @@ -49,6 +49,13 @@ How to load directives and components from lazyload.

eg. `{ lazyComponent: true }`

### excludeExports

- Type: `array`
- Default: `['Lazyload', 'Locale']`

Exclude exports from Vant that are not component content.

### components

- Type: `array`
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@
"vant": ">=4"
},
"dependencies": {
"@nuxt/kit": "^3.2.0",
"@nuxt/kit": "^3.4.2",
"magic-string": "^0.29.0",
"unplugin": "^1.0.1"
"unplugin": "^1.3.1"
},
"devDependencies": {
"@nuxt/module-builder": "^0.2.1",
"@nuxt/schema": "^3.2.0",
"@nuxt/schema": "^3.4.2",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@types/node": "^18.13.0",
"eslint": "^8.34.0",
"nuxt": "^3.2.0",
"@types/node": "^18.15.13",
"eslint": "^8.39.0",
"nuxt": "^3.4.2",
"typescript": "^4.9.5",
"vant": "^4.0.10",
"vant": "^4.2.0",
"vue": "^3.2.47"
},
"publishConfig": {
Expand Down

0 comments on commit 14538b8

Please sign in to comment.