Skip to content

Commit

Permalink
refactor: use postcss-px-conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Oct 18, 2023
1 parent e461962 commit a1a473a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"path-to-regexp": "^6.2.1",
"pinia": "^2.1.6",
"pinia-plugin-persistedstate": "^3.2.0",
"postcss-px-to-viewport": "^1.1.1",
"postcss-px-conversion": "^0.0.2",
"qs": "^6.11.2",
"vant": "^4.7.1",
"vue": "^3.3.4",
Expand Down
19 changes: 8 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
plugins: {
"postcss-px-to-viewport": {
"postcss-px-conversion": {
viewportWidth: 375,
},
},
Expand Down

0 comments on commit a1a473a

Please sign in to comment.