Add logging frontend version to console on startup
This commit is contained in:
@ -2,6 +2,9 @@ import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
|
||||
import {VERSION} from './version.json'
|
||||
console.info(`Vikunja frontend version ${VERSION}`)
|
||||
|
||||
// Register the modal
|
||||
import Modal from './components/modal/Modal'
|
||||
Vue.component('modal', Modal)
|
||||
|
3
src/version.json
Normal file
3
src/version.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"VERSION": "0.12"
|
||||
}
|
Reference in New Issue
Block a user