How can I define a new String prototype in nuxtjs.
String prototype
nuxtjs
If your answer is use plugin, how should I use plugins for define code like this?