
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.
19 lines
463 B
JavaScript
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')
|