Usual components for poleterresolide
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification with version number in filename
npm run pre
# build for production with minification without version number in filename
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
npm install terresolide/formater-commons-components-vjs
And import one or more components in your own component
<template>
...
<formater-select name="test" options="['yes', 'no']"></formater-select>
...
</template>
<script>
import {FormaterSelect} from 'formater-commons-components-vjs'
export default {
components: {
FormaterSelect
},
...
}
</script>You can use it directly in your html page by calling the "compiled" file
<formater-select name="test" options="['yes', 'no']"></formater-select>
<script src="url_to/dist/formater-commons-components-vjs.js"/></script>