Upgrade nuxt to 2.13.0
This commit is contained in:
parent
496ece54eb
commit
5843b8d62b
@ -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
|
||||
})
|
||||
},
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -198,4 +198,8 @@ export default {
|
||||
*/
|
||||
extend(config, ctx) {},
|
||||
},
|
||||
|
||||
components: true,
|
||||
|
||||
telemetry: false,
|
||||
}
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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: [],
|
||||
|
||||
@ -29,11 +29,9 @@
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import NoteCard from '@/components/NoteCard.vue'
|
||||
|
||||
export default {
|
||||
name: 'Notes',
|
||||
components: { NoteCard },
|
||||
data: () => ({
|
||||
loading: true,
|
||||
}),
|
||||
|
||||
2751
frontend/yarn.lock
2751
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user