Router warning fixes

pull/5677/head
tugcekucukoglu 2024-05-02 13:42:38 +03:00
parent 9b95710cf6
commit cdee9a5ac7
8 changed files with 22 additions and 22 deletions

View File

@ -31,10 +31,10 @@
<ul class="list-none p-0 m-0"> <ul class="list-none p-0 m-0">
<li class="font-bold mt-5 lg:mt-0 mb-5">Theming</li> <li class="font-bold mt-5 lg:mt-0 mb-5">Theming</li>
<li class="mb-4"> <li class="mb-4">
<PrimeVueNuxtLink to="/theming" class="text-secondary font-medium hover:text-primary border-round transition-all transition-duration-300">Styled Mode</PrimeVueNuxtLink> <PrimeVueNuxtLink to="/theming/styled" class="text-secondary font-medium hover:text-primary border-round transition-all transition-duration-300">Styled Mode</PrimeVueNuxtLink>
</li> </li>
<li class="mb-4"> <li class="mb-4">
<PrimeVueNuxtLink to="/unstyled" class="text-secondary font-medium hover:text-primary border-round transition-all transition-duration-300">Unstyled Mode</PrimeVueNuxtLink> <PrimeVueNuxtLink to="/theming/unstyled" class="text-secondary font-medium hover:text-primary border-round transition-all transition-duration-300">Unstyled Mode</PrimeVueNuxtLink>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -41,7 +41,7 @@ export default {
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',
@ -119,7 +119,7 @@ export default {
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',
@ -187,7 +187,7 @@ const items = ref([
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',

View File

@ -60,7 +60,7 @@ export default {
label: 'Router', label: 'Router',
items: [ items: [
{ label: 'Theming', route: '/theming' }, { label: 'Theming', route: '/theming' },
{ label: 'Unstyled', route: '/unstyled' } { label: 'Unstyled', route: '/theming/unstyled' }
] ]
} }
], ],
@ -136,7 +136,7 @@ const items = ref([
label: 'Router', label: 'Router',
items: [ items: [
{ label: 'Theming', route: '/theming' }, { label: 'Theming', route: '/theming' },
{ label: 'Unstyled', route: '/unstyled' } { label: 'Unstyled', route: '/theming/unstyled' }
] ]
} }
], ],

View File

@ -32,7 +32,7 @@ export default {
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',
@ -94,7 +94,7 @@ export default {
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',
@ -144,7 +144,7 @@ const items = ref([
{ {
label: 'Router Link', label: 'Router Link',
icon: 'pi pi-palette', icon: 'pi pi-palette',
route: '/unstyled' route: '/theming/unstyled'
}, },
{ {
label: 'Programmatic', label: 'Programmatic',

View File

@ -37,7 +37,7 @@ export default {
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -117,7 +117,7 @@ export default {
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -186,7 +186,7 @@ const items = ref([
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },

View File

@ -39,7 +39,7 @@ export default {
{ {
label: 'Unstyled', label: 'Unstyled',
icon: 'pi pi-heart', icon: 'pi pi-heart',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -123,7 +123,7 @@ export default {
{ {
label: 'Unstyled', label: 'Unstyled',
icon: 'pi pi-heart', icon: 'pi pi-heart',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -196,7 +196,7 @@ const items = ref([
{ {
label: 'Unstyled', label: 'Unstyled',
icon: 'pi pi-heart', icon: 'pi pi-heart',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },

View File

@ -31,7 +31,7 @@ export default {
label: 'Programmatic', label: 'Programmatic',
icon: 'pi pi-palette', icon: 'pi pi-palette',
command: () => { command: () => {
this.$router.push('/unstyled'); this.$router.push('/theming/unstyled');
} }
}, },
{ label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' } { label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' }
@ -83,7 +83,7 @@ export default {
label: 'Programmatic', label: 'Programmatic',
icon: 'pi pi-palette', icon: 'pi pi-palette',
command: () => { command: () => {
this.$router.push('/unstyled'); this.$router.push('/theming/unstyled');
} }
}, },
{ label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' } { label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' }
@ -122,7 +122,7 @@ const items = ref([
label: 'Programmatic', label: 'Programmatic',
icon: 'pi pi-palette', icon: 'pi pi-palette',
command: () => { command: () => {
this.$router.push('/unstyled'); this.$router.push('/theming/unstyled');
} }
}, },
{ label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' } { label: 'External', icon: 'pi pi-link', url: 'https://vuejs.org/' }

View File

@ -37,7 +37,7 @@ export default {
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -117,7 +117,7 @@ export default {
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },
@ -186,7 +186,7 @@ const items = ref([
}, },
{ {
label: 'Unstyled', label: 'Unstyled',
route: '/unstyled' route: '/theming/unstyled'
} }
] ]
}, },