Error when running yarn dev
I've followed the steps to install and run "yarn dev", but shows this error below. Please help:
ERROR ERROR in client/components/header/HeaderUser.vue:9:7 20:31:13 TS2451: Cannot redeclare block-scoped variable 'ctx'. 7 | 8 |
9 | const ctx = useContext() | ^^^ 10 | const user = computed(() => ctx.$auth.user) 11 | console.log(ctx.$auth) 12 |
ERROR in client/components/header/ModalLogin.vue:75:7 TS2451: Cannot redeclare block-scoped variable 'ctx'. 73 | const emit = defineEmits(['off']) 74 |
75 | const ctx = useContext() | ^^^ 76 | const email = ref('') 77 | const loading = reactive({ 78 | attempt: false,
@justinjacobsumaya8 this is going through a massive overhaul of new features, adding auth, dark mode, etc.
By Monday I should have this stuff buttoned up and the readme updated with a ton of new stuff. apologies for the mess until then! Appreciate the feedback!
Ah okay please let me know. I'd really love to use your boilerplate. More power to you!
The same problem.
Sorry guys - right in the middle of supporting nuxt3 and nuxt-bridge in the stack, if you want please grab a version from the 16th of september or older and that will match the readme - once the nuxt3/bridge support is done i'll update the readme and close this issue
Visiting this as its a bit stale @arasjuska @justinjacobsumaya8 let me know if things are 👍 for v2 and v3