# brace-editor

> A web editor component which based on vue2.0 and brace; <br />
> 该组件是一个简易的可嵌入web页面的代码编辑器，基于brace和vue2.0;<br />
> 引入了iview的部分组件（Select、Option、RadioGroup、Radio等）;<br />

![image](https://github.com/ExcellentJR/brace-editor/blob/master/static/lib/img/editor_intro_4.png) <br/>
![image](https://github.com/ExcellentJR/brace-editor/blob/master/static/lib/img/editor_intro_1.png) <br/>
![image](https://github.com/ExcellentJR/brace-editor/blob/master/static/lib/img/editor_intro_2.png) <br/>
![image](https://github.com/ExcellentJR/brace-editor/blob/master/static/lib/img/editor_intro_3.png)

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
