Files
cloudron-box/dashboard/src/index.js

22 lines
403 B
JavaScript
Raw Normal View History

2024-11-01 14:16:09 +01:00
import { createApp } from 'vue';
import '@fontsource/noto-sans';
2025-01-06 21:28:01 +01:00
import { tooltip, fallbackImage } from 'pankow';
2024-12-26 12:19:48 +01:00
2024-11-01 14:16:09 +01:00
import i18n from './i18n.js';
2025-01-21 17:08:09 +01:00
import Index from './Index.vue';
2024-11-01 14:16:09 +01:00
import './style.css';
2024-11-01 14:16:09 +01:00
(async function init() {
const app = createApp(Index);
app.use(await i18n());
2024-12-26 12:19:48 +01:00
app.directive('tooltip', tooltip);
2025-01-06 21:28:01 +01:00
app.directive('fallback-image', fallbackImage);
2024-12-26 12:19:48 +01:00
app.mount('#app');
2024-11-01 14:16:09 +01:00
})();