成功引入vant

This commit is contained in:
2019-11-25 15:27:58 +08:00
parent 4eb31ea11f
commit 70f4750066
7 changed files with 110 additions and 4 deletions

View File

@@ -8,9 +8,12 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"babel-plugin-import": "^1.12.2",
"core-js": "^3.3.2",
"node-sass": "^4.13.0",
"postcss-pxtorem": "^4.0.1",
"sass-loader": "^8.0.0",
"vant": "^2.2.14",
"vue": "^2.6.10",
"vue-router": "^3.1.3"
},
@@ -39,7 +42,18 @@
},
"postcss": {
"plugins": {
"autoprefixer": {}
"autoprefixer": {
"browsers": [
"Android >= 4.0",
"iOS >= 7"
]
},
"postcss-pxtorem": {
"rootValue": 100,
"propList": [
"*"
]
}
}
},
"browserslist": [