cuth / cuth/postcss-pxtorem

The rootvalue function is not valid

Open
#83 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

When I used version 6.0.0, an error occurred,
In the vite + Vue framework, I want to use two different proportions for the UI framework
But in the end, all the documents used the ratio of 50
This problem was resolved when I tried to switch to version 5.1.1
`
postCssPxToRem({
rootValue({ file }) {
let num = file.includes('vant') ? 50 : 100
return num
},
propList: ['*'],
}),
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.