We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我是这样配置的:
[{ test: /\.(js|mjs|jsx|ts|tsx)$/, loader: require.resolve('babel-loader'), }, { loader: require.resolve('postcss-loader'), options: { syntax: require.resolve('postcss-styled'), plugins: [ require('postcss-px-to-viewport')({ viewportWidth: 750, }), ], }, }]
我希望在tsx文件中使用styled时将px单位装换成vw单位,但是没有效果
tsx
styled
px
vw
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我是这样配置的:
我希望在
tsx
文件中使用styled
时将px
单位装换成vw
单位,但是没有效果The text was updated successfully, but these errors were encountered: