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'
|
|
|
|
import Formulario from '@/Formulario.ts'
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
Vue.use(new Formulario())
|
2020-10-18 20:11:20 +03:00
|
|
|
|
|
|
|
storiesOf('FormularioInput', module)
|
|
|
|
.add('Default', () => FormularioInputTale)
|
|
|
|
.add('Grouping', () => FormularioGroupingTale)
|