3 Must Know Tips For Nuxt.js Developers
HTML-код
- Опубликовано: 26 июн 2024
- Nuxt is an amazing full stack meta framework for Vue developers. In this video I discuss three tips you should know when using Nuxt. We'll look at auto imports, useFetch and one other thing, you'll find out if you watch the video!
👉 Check out my last video on the future of Tailwind
• The Future Of Tailwind...
👉Sign up for my mailing list and get neat stuff!
bit.ly/3Umk7sW
👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring!
mentors.to/erik
Links:
nuxt.com/docs/api/composables...
nuxt.com/modules
/ @thealexlichter
0:00 Why you should watch this video
0:22 End-To-End Type Safety
03:09 A look at useFetch
04:07 Auto Imports
06:35 Tip 3 ???
What features do you use in Nuxt?
Have you tried TRPC for nuxt?
I like layers a lot
Everything. RouteRules is a great.
i've come from react enviroment and learned vue couple of days ago. it is very intutive and very easy to use. i can't wait to learn nuxt. i think it is going to be a lot more awesome✌✌
Welcome! 🎉
Awesome!~
Thanks for the imports presets example with i18n. Perfect example.
My pleasure!
Yes, do a video on vitest please.
For sure!
i love nuxt
please create that vitest video thanks ❤❤
+1 for a video on Vitest
Thks a lot for this video
awesome content, thanks.
Glad you liked it!
Want to see video of nuxt content module
thanks for this video ,
and record a video about best way for write test for Nuxt please.
Ooh, that's a good one!
@@ProgramWithErikit would be great to do a testing Nuxt video that goes into more detail than just testing a component. Quite a lot of videos and examples just do the basics like show how to write a test that finds a button on a page and presses it then checks the result. That's fine to start but real Nuxt apps are more complicated than just SFCs. What about the correct way to mock server routes, setup vitest to use modules that have been installed or show how to test the backend /server dir?
Vitest Video: A big yes. Please
Do you recommend using Nuxt backend or there are cases where an external backend is better ?
Yes, I would use it for most straight forward sites
been having a hard time with RBAC in nuxt using nuxt middlware if you could do a tutorial that could be super helpful asumming the user object returned from the api call will have a roles key where user might either be an admin , trader or regular usertag me once the tutorial comes out
hi, thank you for the video. can you explain more why never use useFetch on a function and the reason why ? 3:07 thank you
If you use it in a function it doesn't work right.
please talk about nuxt graphql apollo with django
That's a good one!
Never knows about i can auto import other lib with preset
👍