StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
StackGenVis/frontend/node_modules/babel-plugin-jsx-v-model/README.md

41 lines
787 B

4 years ago
[![Build Status](https://travis-ci.org/nickmessing/babel-plugin-jsx-v-model.svg?branch=master)](https://travis-ci.org/nickmessing/babel-plugin-jsx-v-model)
## JSX v-model for Vue JSX
This babel plugin adds some syntactic sugar to JSX.
### Usage:
```bash
npm i babel-plugin-jsx-v-model -D
```
Then add `jsx-v-model` to your `.babelrc` file under `plugins`
example .babelrc:
```json
{
"presets": ["es2015"],
"plugins": ["jsx-v-model", "transform-vue-jsx"]
}
```
code:
```js
Vue.component('hello-world', {
data: () => ({
text: 'Hello World!'
}),
render () {
return (
<div>
<input type="text" v-model={this.text} />
{this.text}
</div>
)
}
})
```
Behaviour is similar to vue template's [v-model](https://vuejs.org/v2/api/#v-model).