diff --git a/frontend/components/Note.vue b/frontend/components/Note.vue index 74c063d..eca1f48 100644 --- a/frontend/components/Note.vue +++ b/frontend/components/Note.vue @@ -1,46 +1,46 @@ @@ -52,4 +52,8 @@ .tags .v-chip { margin: 4px 8px 4px 0; } + + .v-card.hover { + cursor: pointer; + } diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue index 20684f6..29b6c67 100644 --- a/frontend/layouts/default.vue +++ b/frontend/layouts/default.vue @@ -8,7 +8,7 @@ > Simple Notes - My notes + My notes Welcome {{this.$store.state.auth.user.username}} Account diff --git a/frontend/pages/notes.vue b/frontend/pages/notes.vue index ca19d3c..59ac3ea 100644 --- a/frontend/pages/notes.vue +++ b/frontend/pages/notes.vue @@ -1,106 +1,48 @@ diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js new file mode 100644 index 0000000..6b209a4 --- /dev/null +++ b/frontend/webpack.config.js @@ -0,0 +1,9 @@ +module.exports = { + resolve: { + // for IntelliJ + alias: { + '@': path.resolve(__dirname), + '~': path.resolve(__dirname) + } + } +}; diff --git a/package.json b/package.json new file mode 100644 index 0000000..d60c2db --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "timeago.js": "^4.0.2" + } +} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..5c69c26 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +timeago.js@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/timeago.js/-/timeago.js-4.0.2.tgz#724e8c8833e3490676c7bb0a75f5daf20e558028" + integrity sha512-a7wPxPdVlQL7lqvitHGGRsofhdwtkoSXPGATFuSOA2i1ZNQEPLrGnj68vOp2sOJTCFAQVXPeNMX/GctBaO9L2w==