Upgrade nuxt to 2.13.0
This commit is contained in:
parent
496ece54eb
commit
5843b8d62b
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-app dark>
|
<v-app dark>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<v-content>
|
<v-main>
|
||||||
<v-container fill-height>
|
<v-container fill-height>
|
||||||
<v-row no-gutters justify="center">
|
<v-row no-gutters justify="center">
|
||||||
<nuxt />
|
<nuxt />
|
||||||
@ -10,7 +10,7 @@
|
|||||||
msg
|
msg
|
||||||
}}</v-snackbar>
|
}}</v-snackbar>
|
||||||
</v-container>
|
</v-container>
|
||||||
</v-content>
|
</v-main>
|
||||||
</v-app>
|
</v-app>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.$root.$on('toast', (msg, color) => {
|
this.$root.$on('toast', (msg, color) => {
|
||||||
this.msg = msg
|
this.msg = msg
|
||||||
this.color = color ?? ''
|
this.color = color || ''
|
||||||
this.toast = true
|
this.toast = true
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,15 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-app>
|
<v-app>
|
||||||
<v-content>
|
<v-main>
|
||||||
<nuxt />
|
<nuxt />
|
||||||
</v-content>
|
</v-main>
|
||||||
</v-app>
|
</v-app>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|||||||
@ -198,4 +198,8 @@ export default {
|
|||||||
*/
|
*/
|
||||||
extend(config, ctx) {},
|
extend(config, ctx) {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
components: true,
|
||||||
|
|
||||||
|
telemetry: false,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
"@nuxtjs/dotenv": "^1.4.0",
|
"@nuxtjs/dotenv": "^1.4.0",
|
||||||
"@starptech/prettyhtml-hast-to-html": "^0.10.0",
|
"@starptech/prettyhtml-hast-to-html": "^0.10.0",
|
||||||
"cookie-universal-nuxt": "^2.1.4",
|
"cookie-universal-nuxt": "^2.1.4",
|
||||||
"nuxt": "^2.0.0",
|
"nuxt": "^2.13.0",
|
||||||
"remark": "^12.0.0",
|
"remark": "^12.0.0",
|
||||||
"remark-breaks": "^1.0.5",
|
"remark-breaks": "^1.0.5",
|
||||||
"remark-parse": "^8.0.2",
|
"remark-parse": "^8.0.2",
|
||||||
|
|||||||
@ -32,17 +32,11 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mdiArrowLeft } from '@mdi/js'
|
import { mdiArrowLeft } from '@mdi/js'
|
||||||
import LoginForm from '~/components/LoginForm'
|
|
||||||
import RegisterForm from '~/components/RegisterForm'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
options: {
|
options: {
|
||||||
auth: 'guest',
|
auth: 'guest',
|
||||||
},
|
},
|
||||||
components: {
|
|
||||||
LoginForm,
|
|
||||||
RegisterForm,
|
|
||||||
},
|
|
||||||
data: () => ({
|
data: () => ({
|
||||||
mdiArrowLeft,
|
mdiArrowLeft,
|
||||||
tab: 0,
|
tab: 0,
|
||||||
|
|||||||
@ -12,14 +12,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TagsGroup from '@/components/TagsGroup'
|
|
||||||
import renderMarkdown from '@/utils/markdown'
|
import renderMarkdown from '@/utils/markdown'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Note',
|
name: 'Note',
|
||||||
components: {
|
|
||||||
TagsGroup,
|
|
||||||
},
|
|
||||||
data: () => ({
|
data: () => ({
|
||||||
note: {
|
note: {
|
||||||
tags: [],
|
tags: [],
|
||||||
|
|||||||
@ -29,11 +29,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
import NoteCard from '@/components/NoteCard.vue'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Notes',
|
name: 'Notes',
|
||||||
components: { NoteCard },
|
|
||||||
data: () => ({
|
data: () => ({
|
||||||
loading: true,
|
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