1
0
mirror of synced 2024-11-22 21:36:04 +03:00
vue-formulario/storybook/stories/index.stories.js

26 lines
574 B
JavaScript
Raw Normal View History

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)