How to import functions in a .vue component from a .js file? - Nuxt