Nuxt/test/fixtures/module/modules/basic/reverse.js
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30

15 lines
277 B
JavaScript

// Simple Nuxt Plugin
import Vue from 'vue'
function $reverseStr (str) {
return str.split('').reverse().join('')
}
Vue.prototype.$reverseStr = $reverseStr
export default undefined
// Legacy support: https://github.com/nuxt/nuxt.js/issues/4350
// <%= _.toUpper('foo') %>