w-aggrid-vue
Version:
A wrapper for ag-grid-vue.
54 lines (45 loc) • 2.57 kB
Markdown
# w-aggrid-vue
A wrapper for ag-grid-vue.

[](https://github.com/vuejs/vue)
[](https://npmjs.org/package/w-aggrid-vue)
[](https://npmjs.org/package/w-aggrid-vue)
[](https://npmjs.org/package/w-aggrid-vue)
[](https://npmjs.org/package/w-aggrid-vue)
[](https://www.jsdelivr.com/package/npm/w-aggrid-vue)
## Documentation
To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-aggrid-vue/module-WAgGridVue.html).
## Example
To view some examples for more understanding, visit examples:
> **all examples:** [web](https://yuda-lyu.github.io/w-aggrid-vue/examples/app.html) [[source code](https://github.com/yuda-lyu/w-aggrid-vue/blob/master/docs/examples/app.html)]
## Installation
### Using npm(ES6 module):
> **Note:** w-aggrid-vue is mainly dependent on `ag-grid-community` and `ag-grid-vue`.
```alias
npm i w-aggrid-vue
```
### In a browser(UMD module):
> **Note:** w-aggrid-vue is mainly dependent on `vue`, `ag-grid-community` and `ag-grid-vue`.
> **Note:** umd file includes with `lodash-es` and `wsemi`, by using tree-shaking for dead-code elimination.
[Optional] Add script with nomodule for IE11.
```alias
<script nomodule src="https://cdn.jsdelivr.net/npm/@babel/polyfill/dist/polyfill.min.js"></script>
```
[Necessary] Add script for vue.
```alias
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>
```
[Necessary] Add script for ag-grid-community and don't need to include css, because has included them by umd file.
```alias
<script src="https://cdn.jsdelivr.net/npm/ag-grid-community@31.3.4/dist/ag-grid-community.min.noStyle.js"></script>
or
<script src="https://cdn.jsdelivr.net/npm/ag-grid-enterprise@31.3.4/dist/ag-grid-enterprise.min.noStyle.js"></script>
```
[Necessary] Add script for ag-grid-vue.
```alias
<script src="https://cdn.jsdelivr.net/npm/ag-grid-vue@31.3.4/dist/ag-grid-vue.umd.js"></script>
```
[Necessary] Add script for w-aggrid-vue.
```alias
<script src="https://cdn.jsdelivr.net/npm/w-aggrid-vue@2.0.54/dist/w-aggrid-vue.umd.js"></script>
```