26 lines
575 B
JavaScript
26 lines
575 B
JavaScript
import './bootstrap.scss'
|
|
|
|
import { storiesOf } from '@storybook/vue'
|
|
|
|
import Vue from 'vue'
|
|
import VueFormulario from '../../dist/formulario.esm'
|
|
|
|
import ExampleAddressList from './ExampleAddressList.tale'
|
|
import FormularioGrouping from './FormularioGrouping.tale'
|
|
|
|
Vue.mixin({
|
|
methods: {
|
|
$t (text) {
|
|
return text
|
|
},
|
|
$tc (text) {
|
|
return text
|
|
}
|
|
}
|
|
})
|
|
Vue.use(VueFormulario)
|
|
|
|
storiesOf('Examples', module)
|
|
.add('Address list', () => ExampleAddressList)
|
|
.add('FormularioGrouping', () => FormularioGrouping)
|