mirror of
https://github.com/heyman/heynote.git
synced 2024-11-24 17:03:19 +01:00
079fa666d6
* Move windows.darkMode -> window.heynote.themeMode * Only add UpdateStatusItem if window.heynote.autoUpdate is set * Update Vite * Implement web version of Heynote. Add a child vite project in ./webapp/ that is Heynote running within a browser. Imports almost all code from ../src/ and only adds a thin bridge that corresponds to the API between the Electron main process and the app code. * Remove commented out tag * Specify publicDir in vite config, instead of using a symlink * Add webapp_dev npm command to package.json * Add npm run command: webapp:build * Add resolve alias '@' that points to project root. Move assets file from public to assets in order to let Vite/Rollup handle bundling.
14 lines
336 B
JavaScript
14 lines
336 B
JavaScript
import '../src/css/application.sass'
|
|
|
|
import { createApp } from 'vue'
|
|
import App from '../src/components/App.vue'
|
|
import { loadCurrencies } from '../src/currency'
|
|
|
|
const app = createApp(App)
|
|
app.mount('#app')
|
|
//console.log("test:", app.hej.test)
|
|
|
|
// load math.js currencies
|
|
loadCurrencies()
|
|
setInterval(loadCurrencies, 1000 * 3600 * 4)
|