[Vuejs]-Best practice for different <templates> requiring the same <script> tag

3👍

if you are using Vue2, you can use Vue Mixins.
if you are using Vue3, you can use and export function from Composite API

Leave a comment