mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Ligtht mode updats
This commit is contained in:
parent
3ffd5adb52
commit
c30cd4e6dc
8 changed files with 55 additions and 75 deletions
19
app.vue
19
app.vue
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<NuxtLayout :name="layout">
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
@ -12,23 +12,6 @@ export default {
|
|||
themeChangeListener: null,
|
||||
newsActivate: null,
|
||||
newsService: null,
|
||||
data() {
|
||||
return {
|
||||
layout: 'custom'
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
$route: {
|
||||
immediate: true,
|
||||
handler(to) {
|
||||
if (to.name === 'index') {
|
||||
this.layout = 'custom';
|
||||
} else {
|
||||
this.layout = 'default';
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.newsActivate = () => {
|
||||
this.$appState.announcement = News;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue