docs: update README (#234)
This commit is contained in:
parent
14a5214e82
commit
fd50c09a86
@ -44,6 +44,8 @@ dt-sql-parser 是一个基于 [ANTLR4](https://github.com/antlr/antlr4) 开发
|
|||||||
## 与 MonacoEditor 集成
|
## 与 MonacoEditor 集成
|
||||||
我们提供了[monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages),通过它你可以轻易的将`dt-sql-parser`与`monaco-editor`集成。
|
我们提供了[monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages),通过它你可以轻易的将`dt-sql-parser`与`monaco-editor`集成。
|
||||||
|
|
||||||
|
>提示:如果想要在浏览器中运行 `dt-sql-parser`,请不要忘记安装 `assert` 和 `util` 的 polyfills 包,另外还需要定义全局变量 `process.env`。 在 node 环境中则不需要,因为 node 内置了这些。
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
@ -47,6 +47,9 @@ Additionally, it provides auxiliary functions such as **SQL splitting** and **co
|
|||||||
|
|
||||||
We have provided [monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages), it is easily to integrate with `monaco-editor`.
|
We have provided [monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages), it is easily to integrate with `monaco-editor`.
|
||||||
|
|
||||||
|
>Tips: If you want to run `dt-sql-parser` in browser, don't forget to install the `assert` and `util` polyfills, and define the global variable `process.env`.
|
||||||
|
None of this is needed in the node environment, because node has them built-in.
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
Loading…
Reference in New Issue
Block a user