Upgrade nuxt to 2.13.0

This commit is contained in:
Hubert Van De Walle 2020-06-18 23:46:28 +02:00
parent 496ece54eb
commit 5843b8d62b
8 changed files with 1589 additions and 1194 deletions

View File

@ -1,7 +1,7 @@
<template>
<v-app dark>
<Navbar />
<v-content>
<v-main>
<v-container fill-height>
<v-row no-gutters justify="center">
<nuxt />
@ -10,7 +10,7 @@
msg
}}</v-snackbar>
</v-container>
</v-content>
</v-main>
</v-app>
</template>
@ -27,7 +27,7 @@ export default {
mounted() {
this.$root.$on('toast', (msg, color) => {
this.msg = msg
this.color = color ?? ''
this.color = color || ''
this.toast = true
})
},

View File

@ -1,15 +1,11 @@
<template>
<v-app>
<v-content>
<v-main>
<nuxt />
</v-content>
</v-main>
</v-app>
</template>
<script>
export default {}
</script>
<style>
html {
overflow-y: auto;

View File

@ -198,4 +198,8 @@ export default {
*/
extend(config, ctx) {},
},
components: true,
telemetry: false,
}

View File

@ -18,7 +18,7 @@
"@nuxtjs/dotenv": "^1.4.0",
"@starptech/prettyhtml-hast-to-html": "^0.10.0",
"cookie-universal-nuxt": "^2.1.4",
"nuxt": "^2.0.0",
"nuxt": "^2.13.0",
"remark": "^12.0.0",
"remark-breaks": "^1.0.5",
"remark-parse": "^8.0.2",

View File

@ -32,17 +32,11 @@
<script>
import { mdiArrowLeft } from '@mdi/js'
import LoginForm from '~/components/LoginForm'
import RegisterForm from '~/components/RegisterForm'
export default {
options: {
auth: 'guest',
},
components: {
LoginForm,
RegisterForm,
},
data: () => ({
mdiArrowLeft,
tab: 0,

View File

@ -12,14 +12,10 @@
</template>
<script>
import TagsGroup from '@/components/TagsGroup'
import renderMarkdown from '@/utils/markdown'
export default {
name: 'Note',
components: {
TagsGroup,
},
data: () => ({
note: {
tags: [],

View File

@ -29,11 +29,9 @@
<script>
import { mapState } from 'vuex'
import NoteCard from '@/components/NoteCard.vue'
export default {
name: 'Notes',
components: { NoteCard },
data: () => ({
loading: true,
}),

File diff suppressed because it is too large Load Diff