1
0
mirror of synced 2024-12-01 17:46:07 +03:00
vue-formulario/storybook/stories/index.stories.js

26 lines
575 B
JavaScript
Raw Normal View History

import './bootstrap.scss'
import { storiesOf } from '@storybook/vue'
import Vue from 'vue'
import VueFormulario from '../../dist/formulario.esm'
2020-11-02 18:55:03 +03:00
import ExampleAddressList from './ExampleAddressList.tale'
import FormularioGrouping from './FormularioGrouping.tale'
Vue.mixin({
methods: {
$t (text) {
return text
},
$tc (text) {
return text
}
}
})
Vue.use(VueFormulario)
2020-11-02 18:55:03 +03:00
storiesOf('Examples', module)
.add('Address list', () => ExampleAddressList)
.add('FormularioGrouping', () => FormularioGrouping)