mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-14 17:41:01 +08:00
29 lines
411 B
Markdown
29 lines
411 B
Markdown
# @fesjs/plugin-windicss
|
||
|
||
|
||
## 介绍
|
||
|
||
`windicss` 支持
|
||
|
||
## 启用方式
|
||
在 `package.json` 中引入依赖:
|
||
```json
|
||
{
|
||
"devDependencies": {
|
||
"@fesjs/plugin-windicss": "^2.0.0"
|
||
},
|
||
}
|
||
```
|
||
|
||
## 配置
|
||
|
||
在 `.fes.js` 配置文件中添加自定义配置,详细配置[请看](https://windicss.org/integrations/webpack.html):
|
||
|
||
```js
|
||
export default {
|
||
windicss: {
|
||
root: './',
|
||
}
|
||
}
|
||
```
|