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
下面是vite.config.js代码
vite.config.js
import WindiCSS from 'vite-plugin-windicss' import { defineConfig } from 'vite' import uni from '@dcloudio/vite-plugin-uni' export default defineConfig({ plugins: [ WindiCSS({ scan: { dirs: ['.'], // 当前目录下所有文件 fileExtensions: ['vue', 'js', 'ts'], // 同时启用扫描vue/js/ts }, alias: { 'hstack': 'flex items-center', 'vstack': 'flex flex-col', 'icon': 'w-6 h-6 fill-current', 'app': 'text-red', 'app-border': 'border-gray-200 dark:border-dark-300', } }), uni(), ], })
我是这样使用的<image class="*icon" src="/static/logo.png"></image>它并没有达到效果
<image class="*icon" src="/static/logo.png"></image>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
下面是
vite.config.js
代码我是这样使用的
<image class="*icon" src="/static/logo.png"></image>
它并没有达到效果The text was updated successfully, but these errors were encountered: