babel-plugin-essor 0.0.7-beta.6 → 0.0.10-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,14 +1,28 @@
1
1
  # Essor babel plugin
2
2
 
3
- ## 安装
3
+ ## Install
4
4
 
5
5
  ```bash
6
- npm install @essor/babel-plugin --save-dev
6
+ npm install @estjs/babel-plugin --save-dev
7
7
  ```
8
8
 
9
- ## 使用
9
+ ## Usage
10
10
 
11
+ ```js
12
+ import EssorBabelPlugin from '@estjs/babel-plugin';
13
+ {
14
+ "plugins": [[EssorBabelPlugin,pluginOptions]]
15
+ }
16
+ ```
17
+
18
+ ## Options
11
19
 
12
- ::: warn
13
- 不要在pops中使用$,props是个reactive,必须添加value
14
- :::
20
+ ```json
21
+ {
22
+ // translate signal symbol,default "$"
23
+ "symbol":"$",
24
+ // enable ssg, dot use it,not a stable API
25
+ "ssg":false,
26
+ // enable props translate,default true
27
+ "props":true
28
+ }