2024-04-03 12:32:23 +00:00
|
|
|
// import { createApp } from "vue";
|
|
|
|
|
// import MagicBar from "./components/MagicBar.vue";
|
2023-12-06 15:38:46 +00:00
|
|
|
|
2024-04-03 12:32:23 +00:00
|
|
|
// const app = createApp({});
|
|
|
|
|
// app.component("magic-bar", MagicBar);
|
|
|
|
|
// app.mount("#vue");
|
2024-06-25 18:29:33 +00:00
|
|
|
|
2024-09-26 01:14:05 +00:00
|
|
|
import { initializeTerminalComponent } from './terminal.js';
|
2024-06-25 18:29:33 +00:00
|
|
|
|
2024-09-26 01:14:05 +00:00
|
|
|
['livewire:navigated', 'alpine:init'].forEach((event) => {
|
|
|
|
|
document.addEventListener(event, () => {
|
|
|
|
|
// tree-shaking
|
|
|
|
|
if (document.getElementById('terminal-container')) {
|
|
|
|
|
initializeTerminalComponent()
|
|
|
|
|
}
|
2024-06-25 18:29:33 +00:00
|
|
|
});
|
2024-09-26 01:14:05 +00:00
|
|
|
});
|