Comments (8)
目前没有
from unplugin-transform-class.
为什么要配置排除的目录呢
from unplugin-transform-class.
好像是有问题 @/components/ 里面的组件 报错
初学前端也可能是我 没配置好。。但是@/components/ 是下载的别人写好的。不引入插件的话 @/components/ 可以正常使用 可以留个vx交流嘛
from unplugin-transform-class.
好像是有问题 @/components/ 里面的组件 报错
🤒 初学前端也可能是我 没配置好。。但是@/components/ 是下载的别人写好的。不引入插件的话 @/components/ 可以正常使用 可以留个vx交流嘛
可能是匹配规则原因 能知道是哪个组件吗 提供相关组件代码
from unplugin-transform-class.
tmui组件库,他的写法与规则有些冲突,所以想将其排除
from unplugin-transform-class.
好像是有问题 @/components/ 里面的组件 报错
🤒 初学前端也可能是我 没配置好。。但是@/components/ 是下载的别人写好的。不引入插件的话 @/components/ 可以正常使用 可以留个vx交流嘛可能是匹配规则原因 能知道是哪个组件吗 提供相关组件代码
from unplugin-transform-class.
是 ''
的匹配问题
fixed
from unplugin-transform-class.
update latest
https://github.com/MellowCo/unplugin-transform-we-class#options
export interface Options {
/**
* 自定义转换规则
* @default
* {
'.': '-d-',
'/': '-s-',
':': '-c-',
'%': '-p-',
'!': '-e-',
'#': '-w-',
'(': '-bl-',
')': '-br-',
'[': '-fl-',
']': '-fr-',
'$': '-r-',
}
*/
rules?: Record<string, string>
/**
* 排除转换目标
* @default [/[\\/]node_modules[\\/]/, /[\\/]\.git[\\/]/]
*/
exclude?: FilterPattern
/**
* 需要转换的目标
* @default [/\.[jt]sx?$/, /\.vue$/, /\.vue\?vue/]
*/
include?: FilterPattern
}
from unplugin-transform-class.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unplugin-transform-class.