vue js menggunakan komponen di mana -mana
// main.js
import { createApp } from 'vue'
import App from './App.vue'
import 'YourComponent' from 'YourFileOrLibrary';
const app = createApp(App);
app.component('yourComponent', YourFileOrLibrary);
app.mount('#app');
Lioruby