docs: update CDN link version #5528

This commit is contained in:
陈嘉涵
2020-01-09 16:51:26 +08:00
parent 589d66d68a
commit e36cc4b412
3 changed files with 7 additions and 7 deletions

View File

@@ -97,11 +97,11 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
```html
<!-- import style -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.2/lib/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.4/lib/index.css">
<!-- import script -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@2.2/lib/vant.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@2.4/lib/vant.min.js"></script>
<script>
// Render the Button component
@@ -132,7 +132,7 @@ postcss config example:
module.exports = {
plugins: {
'autoprefixer': {
browsers: ['Android >= 4.0', 'iOS >= 7']
browsers: ['Android >= 4.0', 'iOS >= 8']
},
'postcss-pxtorem': {
rootValue: 37.5,