File tree Expand file tree Collapse file tree 18 files changed +42
-42
lines changed Expand file tree Collapse file tree 18 files changed +42
-42
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ defineProps<{
88
99<template >
1010 <div class =" " >
11- <span class =" shadow-2 mb-1 inline-block p-3" style =" border-radius : 10px " >
11+ <span class =" shadow-2 mb-1 p-3 inline-block " style =" border-radius : 10px " >
1212 <div :class =" `i-mdi-check text-4xl text-${color}`" />
1313 </span >
1414 <div :class =" `mb-3 text-2xl text-${color}`" >
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ watchEffect(() => mode.value = state.value)
2121 <div >
2222 <client-only >
2323 <Button @click =" next()" >
24- <i v-if =" mode === 'dark'" i-carbon-moon inline-block align-middle class =" align-middle" />
25- <i v-if =" mode === 'light'" i-carbon-sun inline-block align-middle class =" align-middle" />
26- <i v-if =" mode === 'cafe'" i-carbon-cafe inline-block align-middle class =" align-middle" />
27- <i v-if =" mode === 'contrast'" i-carbon-contrast inline-block align-middle class =" align-middle" />
28- <i v-if =" mode === 'auto'" i-carbon-laptop inline-block align-middle class =" align-middle" />
24+ <i v-if =" mode === 'dark'" i-carbon-moon align-middle inline-block class =" align-middle" />
25+ <i v-if =" mode === 'light'" i-carbon-sun align-middle inline-block class =" align-middle" />
26+ <i v-if =" mode === 'cafe'" i-carbon-cafe align-middle inline-block class =" align-middle" />
27+ <i v-if =" mode === 'contrast'" i-carbon-contrast align-middle inline-block class =" align-middle" />
28+ <i v-if =" mode === 'auto'" i-carbon-laptop align-middle inline-block class =" align-middle" />
2929 <span class =" ml-2 capitalize" >{{ mode }}</span >
3030 </Button >
3131 </client-only >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const version = ref(import.meta.env.VITE_APP_VERSION)
44
55<template >
66 <div class =" layout-footer mt-4" >
7- <span class =" ml-2 font-medium" >Vite PrimeVue Starter - {{ version }}</span >
7+ <span class =" font-medium ml-2 " >Vite PrimeVue Starter - {{ version }}</span >
88 </div >
99</template >
1010
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ onMounted(() => {
5151 </div >
5252 </template >
5353 <template #footer >
54- <div class =" m-2 text-center text- xs text-color-primary" >
54+ <div class =" text-xs text-color-primary m-2 text-center " >
5555 <span v-if =" !stateStore.collapsed" >PrimeVue Vite Starter {{ version }}</span >
5656 <span v-if =" stateStore.collapsed" >{{ version }}</span >
5757 </div >
Original file line number Diff line number Diff line change 1- import { useMessages } from '@/composables/messages'
21import { useConfirm } from 'primevue/useconfirm'
2+ import { useMessages } from '@/composables/messages'
33
44export function useConfirmation ( ) {
55 const confirm = useConfirm ( )
Original file line number Diff line number Diff line change 11<template >
2- <main class =" px-4 py-10 text-center text-8xl text-teal-700 " >
2+ <main class =" text-8xl text-teal-700 px-4 py-10 text-center" >
33 <div >
44 <p class =" text-8xl text-red-600" >
55 <i-codicon-error class =" inline-block" />
Original file line number Diff line number Diff line change 33 </script >
44
55<template >
6- <main class =" px-4 py-10 text-center text-6xl text-red-600 " >
6+ <main class =" text-6xl text-red-600 px-4 py-10 text-center" >
77 <router-view />
88 </main >
99 <AppFooter />
Original file line number Diff line number Diff line change 11import type { UserModule } from '@/types'
2- import { useAuthStore } from '@/store'
32import { createPinia } from 'pinia'
3+ import { useAuthStore } from '@/store'
44
55// Setup Pinia
66// https://pinia.esm.dev/
Original file line number Diff line number Diff line change 11<script setup lang='ts'>
2- import { useAuthStore } from ' @/store'
32import { useRouter } from ' vue-router'
3+ import { useAuthStore } from ' @/store'
44
55const auth = useAuthStore ()
66const router = useRouter ()
@@ -12,7 +12,7 @@ function logout() {
1212 </script >
1313
1414<template >
15- <div class =" min-h-screen flex items-center justify-center px-4 py-12 lg:px-8 sm:px-6" >
15+ <div class =" px-4 py-12 flex min-h-screen items-center justify-center lg:px-8 sm:px-6" >
1616 <div class =" max-w-md w-full space-y-8" >
1717 <h5 >Restricted Admin Area</h5 >
1818 <p >Some restricted content ....</p >
Original file line number Diff line number Diff line change @@ -13,26 +13,26 @@ onMounted(async () => {
1313<template >
1414 <div class =" card" >
1515 <h2 >Store Settings</h2 >
16- <h5 class =" mb-4 text-2xl font-bold" >
16+ <h5 class =" text-2xl font-bold mb-4 " >
1717 Primevue Theme Store
1818 </h5 >
19- <div class =" grid grid-cols-2 gap-4 " >
19+ <div class =" gap-4 grid grid-cols-2" >
2020 <div >Theme Name</div >
2121 <div >{{ themeStore.themeName }}</div >
2222 <div >Theme Color</div >
2323 <div >{{ themeStore.themeColor }}</div >
2424 </div >
2525
26- <h5 class =" mb-4 text-2xl font-bold" >
26+ <h5 class =" text-2xl font-bold mb-4 " >
2727 Data Store (Option Store)
2828 </h5 >
2929 <span class =" text-xs" >Example of a Data Store</span >
30- <div class =" grid grid-cols-2 mt-6 gap-4" >
30+ <div class =" mt-6 gap-4 grid grid-cols-2 " >
3131 <div >Products</div >
3232 <div >{{ dataStore.products.length }}</div >
3333 </div >
3434
35- <h5 class =" mb-4 text-2xl font-bold" >
35+ <h5 class =" text-2xl font-bold mb-4 " >
3636 Counter Store (Setup Store)
3737 </h5 >
3838 <span class =" text-xs" >Example of a Data Store</span >
You can’t perform that action at this time.
0 commit comments