2020-10-18 20:11:20 +03:00
|
|
|
import './bootstrap.scss'
|
|
|
|
|
|
|
|
import { storiesOf } from '@storybook/vue'
|
|
|
|
|
2020-10-18 18:28:37 +03:00
|
|
|
import Vue from 'vue'
|
2020-10-27 17:29:19 +03:00
|
|
|
import VueFormulario from '../../dist/formulario.esm'
|
2020-10-18 18:28:37 +03:00
|
|
|
|
2020-10-18 20:11:20 +03:00
|
|
|
import FormularioGroupingTale from './FormularioGrouping.tale'
|
|
|
|
import FormularioInputTale from './FormularioInput.tale'
|
|
|
|
|
2020-10-18 18:28:37 +03:00
|
|
|
Vue.mixin({
|
|
|
|
methods: {
|
|
|
|
$t (text) {
|
|
|
|
return text
|
2020-11-02 11:54:50 +03:00
|
|
|
},
|
|
|
|
$tc (text) {
|
|
|
|
return text
|
2020-10-18 18:28:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
2020-10-27 17:29:19 +03:00
|
|
|
Vue.use(VueFormulario)
|
2020-10-18 20:11:20 +03:00
|
|
|
|
|
|
|
storiesOf('FormularioInput', module)
|
|
|
|
.add('Default', () => FormularioInputTale)
|
|
|
|
.add('Grouping', () => FormularioGroupingTale)
|