Тэги:
#javascript #master_javascript #mongodb_tutorial #full_stack #nuxt_3_app #nuxt_3_app_authentication #nuxt_3_tailwind_prisma #nuxt_3_tutorial_for_beginners #nuxt_3_application #full_stack_nuxt_prisma_application #nuxt_3_crash_course #full_stack_social_media #insidewebdev #vue_full_stack #nuxt_3 #nuxt_3_tutorial #nuxt_3_course #prisma_auth #javascript_for_beginners #prisma_tutorial #tailwind_css #tailwind_css_tutorial #nuxt_course #nuxt_3_full_courseКомментарии:
When I try to get event.context.auth.user in user.get.js, i get an error that its undefined. Is there a new way of setting it or accessing it?
Ответить大神你这个教程可太棒了,虽然听不太懂,依然照着敲了一遍
ОтветитьNote that retrieving cookies has changed. Now, you need to do something like:
import { parseCookies } from "h3"
export default defineEventHandler(async (event) => {
const cookies = parseCookies(event)
const cookie_value = cookies.cookie_name
return {
desired_name: cookie_value
}
})
I think it's a really great video. 2.28.50 It says that useCookies in this part is missing and does not work. Could you tell me anyone?
Ответитьthanks! but where the firebase section is
ОтветитьThis is a really nice tutorial, but maybe it would be useful to explain what you are about to do as an overview, as well as how it's done. Otherwise we just have to follow and try to make sense of it. Try using a flowchart before each part. Could help a lot of people
ОтветитьGood tutorial. Congratulations...
ОтветитьI had an error trying to use heroIcons, it seems they changed the way to import the icon you want to use. Now you have to add the size before the type.
For example: @heroicons/vue/24/solid for size 24 and @heroicons/vue/20/solid for size 20
For those who don't know, useBody() is now readBody().
ОтветитьHey, this is my first project of this sort and I'm having trouble understanding the authentication system of this. What are the access and refresh tokens used for? What about the session and cookies? It's a bit confusing for me. Other then that, this is phenomenal and truly helpful. Thanks :)
ОтветитьA powerful application. Can you do something else like that?
Ответитьcookie refresh_token on server side undefined, how it fix?
Ответить