heynote/webapp/main.js
2024-12-09 12:37:05 +01:00

18 lines
416 B
JavaScript

import '../src/css/application.sass'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from '../src/components/App.vue'
import { loadCurrencies } from '../src/currency'
const pinia = createPinia()
const app = createApp(App)
app.use(pinia)
app.mount('#app')
//console.log("test:", app.hej.test)
// load math.js currencies
loadCurrencies()
setInterval(loadCurrencies, 1000 * 3600 * 4)