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