heynote/webapp/main.js

18 lines
416 B
JavaScript
Raw Normal View History

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