Compare commits
6 Commits
2f4583f423
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e530f23103 | |||
| 9dd25fa545 | |||
| cfcb55dc33 | |||
| 54fefdd927 | |||
| fe525afd9f | |||
| e5bbecb689 |
@@ -7,7 +7,7 @@ defineProps<{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLayout>
|
||||
<NuxtLayout name="auth">
|
||||
<UPageError :error="error" />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
// https://nuxt.com/docs/api/configuration/nbun uxt-config
|
||||
export default defineNuxtConfig({
|
||||
extends: ['@nuxt/ui-pro'],
|
||||
modules: ['@nuxt/ui'],
|
||||
|
||||
16
package.json
16
package.json
@@ -12,17 +12,17 @@
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^1.1.0",
|
||||
"@iconify-json/heroicons": "^1.1.13",
|
||||
"@antfu/eslint-config": "^2.8.0",
|
||||
"@iconify-json/heroicons": "^1.1.20",
|
||||
"@nuxt/devtools": "latest",
|
||||
"@nuxt/ui-pro": "^0.4.2",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint-plugin-tailwindcss": "^3.13.0",
|
||||
"@nuxt/ui-pro": "^1.0.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-tailwindcss": "^3.14.2",
|
||||
"laravel-echo": "^1.15.3",
|
||||
"nuxt": "^3.8.1",
|
||||
"nuxt": "^3.10.3",
|
||||
"pusher-js": "^8.3.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vue": "^3.3.8",
|
||||
"typescript": "^5.3.3",
|
||||
"vue": "^3.4.19",
|
||||
"vue-router": "^4.2.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({ middleware: ['auth'] })
|
||||
|
||||
const user = useUser()
|
||||
|
||||
console.log(user.value)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
<template>
|
||||
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
definePageMeta({ middleware: ['guest'], layout: 'auth' })
|
||||
const { logout } = useAuth()
|
||||
|
||||
8980
pnpm-lock.yaml
generated
Normal file
8980
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user