flamenco/web/app/src/main.js
Sybren A. Stüvel cc58f0d81a Web: remove unused parts of the Vue template project
The project was created with things (components, router, views) we don't
use at the moment. To keep a clearer separation between "our code" and
"example code", I just removed the latter.
2022-04-25 17:12:52 +02:00

19 lines
463 B
JavaScript

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from '@/App.vue'
// Ensure Tabulator can find `luxon`, which it needs for sorting by
// date/time/datetime.
import { DateTime } from 'luxon';
window.DateTime = DateTime;
// Help with debugging. This removes any Vue reactivity.
window.plain = (x) => { return JSON.parse(JSON.stringify(x)) };
const app = createApp(App)
const pinia = createPinia()
app.use(pinia)
app.mount('#app')