chore: use useWindowSize in convertVw (#9854)

This commit is contained in:
neverland
2021-11-13 18:45:07 +08:00
committed by GitHub
parent d5be481eab
commit b8729d8ffb
8 changed files with 43 additions and 26 deletions

View File

@@ -41,13 +41,19 @@
## Install
Using `npm` to install:
```bash
# install Vant 2 for Vue 2 project
npm i vant@2
# install Vant 3 for Vue 3 project
npm i vant@3
```
Using `yarn` or `pnpm`:
```bash
# with yarn
yarn add vant@3