mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
docs(cli): changelog 3.3.0
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# 更新日志
|
||||
|
||||
## v3.3.0
|
||||
|
||||
`2021-01-09`
|
||||
|
||||
- 默认关闭 jsx 插件的 enableObjectSlots 选项
|
||||
|
||||
## v3.2.1
|
||||
|
||||
`2021-01-09`
|
||||
|
@@ -269,7 +269,7 @@ module.exports = {
|
||||
|
||||
### 依赖
|
||||
|
||||
由于使用了`@babel/plugin-transform-runtime`来优化 Babel 的 helper 函数,你需要将`@babel/runtime`添加到`package.json`的依赖项:
|
||||
由于使用了 `@babel/plugin-transform-runtime` 来优化 Babel 的 helper 函数,你需要将 `@babel/runtime` 添加到 `package.json` 的依赖项:
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -279,16 +279,6 @@ module.exports = {
|
||||
}
|
||||
```
|
||||
|
||||
如果使用了 JSX 的语法,还需要将`@vue/babel-helper-vue-jsx-merge-props`添加到依赖中:
|
||||
|
||||
```json
|
||||
{
|
||||
"dependencies": {
|
||||
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Postcss
|
||||
|
||||
通过根目录下的`postcss.config.js`文件可以对 Postcss 进行配置。
|
||||
|
Reference in New Issue
Block a user