1
0
mirror of synced 2024-11-29 00:26:12 +03:00
vue-formulario/storybook/stories/index.stories.js

26 lines
574 B
JavaScript

import './bootstrap.scss'
import { storiesOf } from '@storybook/vue'
import Vue from 'vue'
import VueFormulario from '../../dist/formulario.esm'
import FormularioGroupingTale from './FormularioGrouping.tale'
import FormularioInputTale from './FormularioInput.tale'
Vue.mixin({
methods: {
$t (text) {
return text
},
$tc (text) {
return text
}
}
})
Vue.use(VueFormulario)
storiesOf('FormularioInput', module)
.add('Default', () => FormularioInputTale)
.add('Grouping', () => FormularioGroupingTale)