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
<template> <view :class="z"> </template> </template> <script setup lang="ts"> interface Props { z: string, } const props = withDefaults( defineProps<Props>(), { z: 'z-[123]', }, ) </script>
无法正常在 class 中渲染。 z 正常渲染结果为:'z--123-',而实际得到的结果是:'z 123'。
vscode:1.84.2 node:18.18.0 npm:9.8.1 vue:3.3.4 vite:4.1.4 vite-plugin-uni-tailwind: 0.13.1 tailwindcss:3.3.3
npm
The text was updated successfully, but these errors were encountered:
该问题与 #25 一致。目前 0.14.0-0 支持 string,后续会继续更新增加支持,欢迎尝试反馈,谢谢你的关注!
weapp-tailwindcss 之前有遇到过类似的问题,见 sonofmagic/weapp-tailwindcss#140 ,但我个人没有尝试过 weapp-tailwindcss,不确定它是否已克服。
如果不限于 tailwindcss,可以尝试 unocss,配合 @uni-helper/unocss-preset-uni 或 unocss-applet。
Sorry, something went wrong.
请跟踪 #25。
No branches or pull requests
描述问题
无法正常在 class 中渲染。 z 正常渲染结果为:'z--123-',而实际得到的结果是:'z 123'。
复现
系统信息
使用的包管理器
npm
核对
The text was updated successfully, but these errors were encountered: