e6c16f3d37
cleaned up interface a bunch allow for opening of two notes at once Escape closes note Added global helper class and time ago function Time ago function displays on main page and in note Removed tab button creating tabbed spaces in document Simplified save text
32 lines
787 B
JavaScript
32 lines
787 B
JavaScript
// The Vue build version to load with the `import` command
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
import Vue from 'vue'
|
|
|
|
import Vuex from 'vuex'
|
|
import 'es6-promise/auto' //Vuex likes promises
|
|
import store from './stores/mainStore';
|
|
|
|
import App from './App'
|
|
import router from './router'
|
|
|
|
//Attach event bus to main vue object, all components will inherit event bus
|
|
import EventBus from './EventBus'
|
|
import Helpers from './Helpers'
|
|
|
|
import CKEditor from '@ckeditor/ckeditor5-vue';
|
|
Vue.use( CKEditor )
|
|
|
|
require('./assets/semantic-min.css')
|
|
require('./assets/semantic-helper.css')
|
|
|
|
Vue.use(Vuex)
|
|
Vue.config.productionTip = false
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
store,
|
|
components: { App },
|
|
template: '<App/>'
|
|
}) |