0.4.0 • Published 7 years ago
@dannyfranca/vue-handsome-helpers v0.4.0
@dannyfranca/vue-handsome-helpers
Implementation of @dannyfranca/vue-handsome-helpers for Vue
Install
npm install @dannyfranca/vue-handsome-helpersUsage
// register globally
import Vue from 'vue'
import helpers from '@dannyfranca/vue-handsome-helpers'
Vue.use(helpers)// to change scope name
Vue.use(helpers, {scope: 'customName'})Helpers will be available in global instance
const opt = this.$helpers.optionsFromString('x:foo|y:bar')
console.log(opt) // { x: 'foo', y: 'bar' }Methods
Check the methods in the original repository.
License
Copyright (c) Danny França contato@dannyfranca.com