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