* Added a help page * Cleaned up home and login pages * Menu is hidden when on notes section of app * Added username to login data * Notes now change to the color selected for the note * Note save function has a 500ms debounce to prevent spamming * Solr results now displays content from notes, tags and attachments * All note data is now indexed in solr * Notes containing URLs are now scraped and put into tag solr index * Attachments that are removed from note are deleted when url is removed * Minor little tweaks and fixes all over the place
35 lines
614 B
JavaScript
35 lines
614 B
JavaScript
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
|
|
import HelloWorld from '@/components/HelloWorld'
|
|
import Login from '@/components/Login'
|
|
import Notes from '@/components/Notes'
|
|
import HelpPage from '@/components/HelpPage'
|
|
|
|
Vue.use(Router)
|
|
|
|
export default new Router({
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
name: 'HelloWorld',
|
|
component: HelloWorld
|
|
},
|
|
{
|
|
path: '/login',
|
|
name: 'Login',
|
|
component: Login
|
|
},
|
|
{
|
|
path: '/notes',
|
|
name: 'Notes',
|
|
component: Notes
|
|
},
|
|
{
|
|
path: '/help',
|
|
name: 'Help',
|
|
component: HelpPage
|
|
},
|
|
]
|
|
})
|