docs(cli): changelog 3.3.0

This commit is contained in:
chenjiahan
2021-01-09 21:47:28 +08:00
parent 993ef3b629
commit 1eb9a80436
4 changed files with 21 additions and 25 deletions

View File

@@ -1,5 +1,11 @@
# 更新日志
## v3.3.0
`2021-01-09`
- 默认关闭 jsx 插件的 enableObjectSlots 选项
## v3.2.1
`2021-01-09`

View File

@@ -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 进行配置。