[Vuejs]-Can't add <script> tag to Vue component files ( *.vue )

0👍

So you want a .vue component that just has the script functionality? Not so clear. But there are lots of different ways of registering components and templates.

One method, are Inline-Templates which are useful for this. You don’t need to register <template> this way!

https://v2.vuejs.org/v2/guide/components-edge-cases.html#Inline-Templates

Leave a comment