From 1be7efaff7666eb466e3d7d38cd7de2bad9c1c9d Mon Sep 17 00:00:00 2001 From: Nero Ignis Date: Fri, 25 Feb 2022 01:17:49 +0100 Subject: [PATCH] Change notes to canvas instead of own page; --- src/App.vue | 3 ++ src/router/index.js | 6 ---- src/views/Menu.vue | 17 +++++----- src/views/Notes.vue | 83 +++++++++++++++++++++++++-------------------- 4 files changed, 59 insertions(+), 50 deletions(-) diff --git a/src/App.vue b/src/App.vue index ed8ef20..6bfb7c1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,6 +13,7 @@ + @@ -27,10 +28,12 @@ import HistoryForTracker from "./views/HistoryForTracker"; import CustomBookForTracker from "./views/CustomBookForTracker"; import Settings from "./views/Settings"; import Tasks from "./views/Tasks"; +import Notes from "./views/Notes"; export default { el: '#root', components: { + Notes, Tasks, Settings, CustomBookForTracker, diff --git a/src/router/index.js b/src/router/index.js index b2bf155..10b19aa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,7 +3,6 @@ import Trackers from "../views/Trackers"; import Settings from "../views/Settings"; import TrackersDetail from "../views/TrackersDetail"; import Archive from "../views/Archive"; -import Notes from "../views/Notes"; Array.prototype.pushToBeginning = function (toPush) { return this.unshift.apply(this, [toPush]); @@ -25,11 +24,6 @@ const routes = [ name: 'Archive', component: Archive }, - { - path: '/notes', - name: 'Notes', - component: Notes - }, { path: '/settings', name: 'Settings', diff --git a/src/views/Menu.vue b/src/views/Menu.vue index f269f83..f6dc30e 100644 --- a/src/views/Menu.vue +++ b/src/views/Menu.vue @@ -46,14 +46,15 @@
-
-
+