I’ve tried to import this package to my Vue.js app, but nothing worked.
I want to use this package to translate a text content from <input>
html tag.
This is the <input>
in HelloWorld.vue
file:
<input class="input" placeholder="Type your text here" />
I’ve imported in main.js
file with:
import "@vitalets/google-translate-api";
And looks like it worked, but how can I use the package with my <input>
text content?