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
38 lines
491 B
Vue
38 lines
491 B
Vue
<template>
|
|
<div id="NotesPage">
|
|
<div class="ui segment">
|
|
<search-bar />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
//ajax calls
|
|
import axios from 'axios';
|
|
// import { mapGetters } from 'vuex'
|
|
|
|
export default {
|
|
name: 'Notes',
|
|
components:{
|
|
'search-bar': require('./SearchBar.vue').default
|
|
},
|
|
data () {
|
|
return {
|
|
notes: null,
|
|
activeNoteId: null
|
|
}
|
|
},
|
|
beforeMount(){
|
|
|
|
},
|
|
mounted: function() {
|
|
//this.getLatest()
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script> |