Тёмный

Nuxt 3 - Course for Beginners 

freeCodeCamp.org
Подписаться 9 млн
Просмотров 101 тыс.
50% 1

Learn how to use Next 3 in this full tutorial for beginners. Nuxt.js is a progressive JavaScript framework for building user interfaces on the web. Nuxt makes it easy to create server-rendered applications, static websites, and single-page applications.
✏️ Course developed by @codewithguillaume
Contents
⌨️ (0:00:00) Intro
⌨️ (0:02:51) Create an App
⌨️ (0:11:07) Pages
⌨️ (0:22:37) Components
⌨️ (0:32:10) Layouts
⌨️ (0:37:47) Assets
⌨️ (0:48:40) Composables
⌨️ (0:55:00) Plugins
⌨️ (1:00:43) Middlewares
⌨️ (1:07:36) Modules
⌨️ (1:12:57) State Management
⌨️ (1:23:28) Server
⌨️ (1:33:42) Nitro
⌨️ (1:38:17) Rendering modes
⌨️ (1:52:04) useFetch
⌨️ (2:02:27) useAsyncData
⌨️ (2:08:16) SEO & Metas
⌨️ (2:18:57) Hooks
⌨️ (2:22:02) Nuxt.config.ts
⌨️ (2:30:14) Nuxt Content
⌨️ (2:41:29) Build Docs and API
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Опубликовано:

 

22 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@dhimanbhattacharya
@dhimanbhattacharya 2 месяца назад
Excellent tutorial! 💯Thank you! Fast paced! "Actually" I needed 8 days to absorb the 3 hrs! ☺ Keep it up Guillaume!
@yashguma
@yashguma 5 месяцев назад
Incredibly concise lecture for beginners. Thank you.
@josephastrahan6403
@josephastrahan6403 3 месяца назад
What I didn't see covered was running this under a typical hosted server, after some research I found that the .ouput folder is where the nitro server file for production is needed to be run. This is important because I run this in docker containers. Good tutorial otherwise :), great work! To support SSL in this server you need to create an init function server: { async init(server) { in the nuxt.config.js file
@FunnyVideos-ni4iu
@FunnyVideos-ni4iu 3 месяца назад
Very nicely taught 💯 the instructor's pace, style of teaching, flow of topics was perfect!
@MrCC-hx8xr
@MrCC-hx8xr 6 дней назад
Probably the best intro what i found ... Im enjoing on next playlist from ur channel Guillaume ;)
@justinreeves8336
@justinreeves8336 Месяц назад
Great course. Love your smiles and enthusiasm. And your accent. I look forward to using my "ooks"!! :-). Great job. Thanks.
@christopher5731
@christopher5731 3 месяца назад
This is such a good overview of nuxt and vue development. Very nice work please keep this up!
@___Kevin
@___Kevin Месяц назад
I really appreciate this folder and file based approach from Nuxt. Thank you Guillaume !
@josefournier9272
@josefournier9272 5 месяцев назад
Thank you for this course; complete coverage, perfect rhythm, excellent diction perhaps also because your incomparable French accent helped me quite a bit. Everything seems clear to me now and this is your success as a teacher.
@samhaze9688
@samhaze9688 8 месяцев назад
Awesome content ❤
@meiseswicki9673
@meiseswicki9673 6 месяцев назад
❤I very liked the course and se french accent😊 Merci beaucoup Guillaume
@F4LZ0N
@F4LZ0N 2 месяца назад
Awesome course, you’re spending the needed amount of time on each feature. Not too much, not too less. I would recommend it for sure ✅
@sonny5497
@sonny5497 6 дней назад
One of the best intros to Nuxt 3 ❤️
@FacundoColombier
@FacundoColombier Месяц назад
excellent tutorial, thanks for the effort! please keep in mind that one package manager should be used and seems that you have yarn and npm in this project
@maviscad
@maviscad 8 месяцев назад
Just when I was looking to make a project with Nuxt 👌
@samchiu3756
@samchiu3756 18 дней назад
02:01:39 For anyone who can't see the data rendered properly, you should remove the `transform` option since the API no longer returns an object with the `data` key.
@amrwery5403
@amrwery5403 8 месяцев назад
finally i am waiting for that from long time thanks
@andrewshorts1198
@andrewshorts1198 8 месяцев назад
aweomse, i've been wanting this.
@devfasil4810
@devfasil4810 6 месяцев назад
There is a component missing on the new version of the tailwind installation on their website. To fix, add "./nuxt.config.{js,ts}", to the tailwind config file.
@maximeetundi
@maximeetundi 5 месяцев назад
Thank you so much for this course
@mahendranath2504
@mahendranath2504 7 месяцев назад
Thank you so much, for such awesome content, I subscribed and liked your channel, this video is much helpful 👍🙌👌🎉🎊
@thesparkdev6665
@thesparkdev6665 4 месяца назад
Thanks for this great series of chapters! what's the main difference between modules and plugins?
@Munk-tt6tz
@Munk-tt6tz 2 месяца назад
Thank you so much for this amazing tutorial!!! Could you please help which extensions are you using in VS Code? I have problem my custom components are not highlighting in template so it's like regular html tags
@jasonryu4495
@jasonryu4495 3 месяца назад
Goooooood tutorial!
@marcoscoelhodev
@marcoscoelhodev 3 месяца назад
thanks a lot bro!
@cuti9114
@cuti9114 7 месяцев назад
Thank you so much for this course. Kindly upload a tutorial for Shopify development with next js
@sadiasarfarazkhan
@sadiasarfarazkhan 8 месяцев назад
Good thank you sir
@LaminarRainbow
@LaminarRainbow 2 месяца назад
Thank you 🙏
@troyharris279
@troyharris279 8 месяцев назад
Very interesting, does one need to learn VueJS first before jumping into this tutorial? Thanks again for another excellent video!
@brahim_boussadjra
@brahim_boussadjra 8 месяцев назад
Yes you need to know Vuejs first
@AngelHdzMultimedia
@AngelHdzMultimedia 7 месяцев назад
Yes. you need to know Vue 3 (with script setup) to use Nuxt 3.
@dhimanbhattacharya
@dhimanbhattacharya 2 месяца назад
Thanks!
@user-ry7uf2vo8d
@user-ry7uf2vo8d 4 месяца назад
There is a nuxt module for tailwind, saves you some files, some time
@test-se6pi
@test-se6pi 2 месяца назад
Which template do you use in vscode?
@vincecyriac8507
@vincecyriac8507 6 месяцев назад
Could you please let me know the VS code extenstions you are using with Nuxt?
@pierre-jeanchancellier8955
@pierre-jeanchancellier8955 4 месяца назад
Vue Volar extension Pack, Nuxtr, Vue 3 Support - All In One, Javascript (ES6) snippets, npm Intellisense, DotENV, ESlint, Vitest. Eventually Iconyify Intellisense, Tailwind CSS Intellisense
@chxsac
@chxsac 7 месяцев назад
does anyone know how to use the auto complete function when typing "vsetup"?
@veganstraightedgemiensk
@veganstraightedgemiensk 6 месяцев назад
vue 3 snippets
@GlobalYoung7
@GlobalYoung7 8 месяцев назад
thank you 😊
@lynnvillacorta6351
@lynnvillacorta6351 3 месяца назад
I can't find the repository sir.
@ghadad
@ghadad 2 месяца назад
Great tutorial! Can you share the code of this tutorial?
@saab0009
@saab0009 5 месяцев назад
@codewithguillaume, thank you so much for such an excellent job!
@meiseswicki9673
@meiseswicki9673 6 месяцев назад
Danke!
@hxxzxtf
@hxxzxtf 4 месяца назад
🎯 Key Takeaways for quick navigation: 00:00 Nuxt *3 introduction.* 00:54 Course *program overview: creating apps, pages, routing, components, layouts, images, composable, plugins, middlewares, modules, state management, rendering modes (SSR, SWR, eBread), servers, and more.* 03:42 Nuxt *3 installation and project structure.* 05:07 Project *structure differences from Vue 3, auto-import of components, and CSS setup.* 08:32 Tailwind *CSS integration.* 10:49 Creating *and understanding routes using the file system in Nuxt 3.* 14:08 Dynamic *routes and parameter handling in Nuxt 3.* 18:14 Using *`useRoute` for dynamic route parameters and accessing context with `useNuxtApp`.* 21:19 Navigating *between routes using Nuxt Link component.* 22:36 Brief *overview of middleware in Nuxt for handling authentication and user entry URL validation.* 23:29 Auto-import *feature in Nuxt 3 for components, eliminating the need for explicit imports.* 23:59 Components *in Nuxt 3.* 24:56 Simplified *component usage.* 25:48 Nuxt *component organization.* 26:40 Creating *a deeper component tree.* 27:33 Importing *nested components.* 28:55 Tips *for component architecture.* 31:28 Nuxt3's *auto import feature for components.* 32:44 Layouts *in Nuxt.js.* 34:31 Defining *and using custom layouts.* 36:39 Managing *styles with layouts.* 38:05 Nuxt's *public and assets directories.* 39:57 Purpose *of the assets directory.* 43:55 Purpose *of the public directory.* 46:29 Efficient *use of SVG icons in Nuxt.* 48:57 Introduction *to composables in Vue 3.* 49:47 Composeables *for reusability.* 53:01 Vue *use library benefits.* 55:21 Nuxt *plugins for global functions.* 01:01:39 Nuxt *middlewares for route operations.* 01:08:05 Nuxt *modules for enhanced functionality.* 01:13:44 Nuxt *3 user state for shared state management.* 01:14:58 User *demonstrates creating shared state in Nuxt 3 using a composable called `states.ts`.* 01:18:29 User *considers using either Nuxt 3's user state or Pinya for state management, referencing an article for guidance.* 01:20:19 User *decides to explore Pinya as a state manager, demonstrates installation, and compares it with user state.* 01:21:13 User *creates a Pinya store, explains the structure, and contrasts it with the Vue 2 way of using options API.* 01:23:47 Introduction *to Nuxt 3's server directory for backend functionality, with emphasis on API handling and server middleware.* 01:25:06 User *demonstrates creating a simple endpoint in the server API folder and explains the purpose of integrating backend logic.* 01:27:15 User *talks about the hybrid mode in Next 3, emphasizing the ability to have both frontend and backend in the same application.* 01:34:15 Brief *overview of Nitro, the new server engine powering Next 3, highlighting features like cache API support and serverless capabilities.* 01:37:51 User *discusses the importance of understanding Nitro for backend operations in Next.js 3, mentions deployment options and its role in the course.* 01:39:08 User *transitions to the most crucial lesson, rendering options in Next.js 3, mentioning its significance for SEO and the upcoming exploration of both old and new documentation.* 01:40:02 SSR *vs. static site* SSR: Server *renders on each request.* Static site: *Renders at build time, no server needed.* SSR essential *for SEO, ensures fresh data for search engines.* 01:41:55 Client-side *rendering pros and cons* Pros: Development *speed, cost, offline functionality.* Cons: Performance, *requires good internet, poor SEO.* 01:45:20 Universal *rendering with SSR* Browser requests *URL with universal rendering enabled.* Server returns *fully rendered HTML page to the browser.* Hydration completes *static page interactivity in the browser.* 01:47:04 SSR *pros and cons* Pros: SEO, *immediate access to page content.* Cons: Developer *constraints, cost of running a server.* 01:49:04 Nuxt *3 features - eBread rendering* eBread rendering *allows different caching rules per route.* Specify rendering *mode (client, universal, server) per page.* Caching intervals *for fresh data, leveraging Nitro engine.* 01:51:50 Root *rules in Nuxt 3* Root rules *enable specifying rendering mode for each page.* Hybrid rendering *allows both SSR and static rendering.* Fine-grained control *over caching and rendering strategy.* 01:53:14 useFetch *and useLazyFetch in Nuxt 3* useFetch: Freezes *app until data is received.* useLazyFetch: Displays *loader while waiting for data.* Enhances developer *experience for asynchronous calls.* 01:56:00 Integrating *useFetch with SSR in Nuxt 3* SSR mode *works seamlessly with useFetch.* Demonstrates asynchronous *data fetching in Nuxt 3.* 02:03:07 useAsyncData *and useLazyAsyncData in Nuxt 3* useAsyncData: Resolves *asynchronously with more complex logic.* useLazyAsyncData: Allows *displaying the app immediately with a loader.* Enables efficient *handling of asynchronous operations.* 02:06:50 Universal *data fetching with `useFetch` composable in Nuxt 3.* 02:07:47 Nuxt *3 handles caching with `clearNuxtData` function and addresses client headers using `useRequestHeader`.* 02:08:36 SEO *optimization in Nuxt 3 achieved through the built-in `useHead` composable, providing flexibility in configuring SEO for the entire app or specific pages.* 02:09:28 Configuring *SEO in Nuxt 3 through `nuxt.config.ts` and `useHead` in `app.view`, allowing customization for the entire app with limitations on reactive data.* 02:11:42 Fine-tuning *SEO on a per-page basis using the `useHead` composable and dynamic data injection, or utilizing built-in components like `title`, `meta`, and others.* 02:16:06 Leveraging *Nuxt 3's built-in components, such as `head`, `title`, and `style`, to easily manage metadata and styling on a per-page basis.* 02:17:24 Incorporating *reactivity into SEO by using dynamic data and reactivity-supported properties like `computed`, `ref`, and `reactive` in Nuxt 3.* 02:19:35 Understanding *Nuxt 3's lifecycle hooks for various aspects, like modules and build context, and utilizing them through plugins for custom operations during initialization.* 02:22:13 Exploring *Nuxt 3's extensive configuration options in `nuxt.config.ts`, including aliases, app settings, build configurations, debugging, dev server customization, and more.* 02:28:56 Managing *file extensions and resolving them in Nuxt 3's configuration, especially useful when certain extensions are not automatically recognized.* 02:30:24 Nuxt *Content, a powerful module for handling static content, simplifies creating websites with markdown, making it especially beneficial for documentation sites.* 02:31:48 Nuxt *3 allows creating static websites using Nuxt content module.* 02:36:42 Tailwind *CSS can be added to Nuxt projects as a module for styling.* 02:38:28 Nuxt *content simplifies creating static websites and is beneficial for SEO.* 02:43:09 Nuxt *themes like Docuus help quickly set up documentation websites.* 02:46:11 Demonstrated *creating API endpoints in Nuxt using Nitro and handling requests.* 02:51:06 Illustrated *creating documentation pages for API endpoints in Nuxt content.- **02:32:14** Nuxt 3 allows easy creation of static websites with markdown using Nuxt Content module.* 02:37:10 Adding *Tailwind CSS to a Nuxt Content project for styling and design flexibility.* 02:41:18 Nuxt *Content simplifies the creation of static websites, ideal for SEO and content-focused projects.* 02:43:32 Exploring *the integration of Nuxt themes, specifically Docuus, for efficient documentation website creation.* 02:51:06 Demonstrating *the creation of API endpoints using Nitro in a Nuxt 3 project, including handling GET and POST requests.* 02:56:11 Gson *usage for country search.* 02:58:48 Documentation *creation process.* 03:04:18 API *endpoints demonstration.* 03:08:33 Overview *of using Nuxt.js for API and documentation creation.* Made with HARPA AI
@sergey_llal6897
@sergey_llal6897 2 месяца назад
❤❤❤❤❤❤
@Sebeklis
@Sebeklis 8 месяцев назад
Nuxt 💪💪
@shergohasan4803
@shergohasan4803 2 месяца назад
Until this moment, I didn't find any course which provides the right configuration of nuxt :(
@shikki111
@shikki111 8 месяцев назад
Nice
@moisesespiritosanto2195
@moisesespiritosanto2195 8 месяцев назад
Hi, I'm from São Paulo!
@soumadip_skyy_banerjee
@soumadip_skyy_banerjee 8 месяцев назад
@agamurat3019
@agamurat3019 7 месяцев назад
unfortunately nuxt does not have developer community like next has, it has to be improved, i am fan of nuxt
@adenugbamicheal2140
@adenugbamicheal2140 8 месяцев назад
Waiting for nest
@user-un4qf4ls6k
@user-un4qf4ls6k 4 месяца назад
I don't see the nuxt3-tailwindcss-starter repository on your github...
@akashlmp
@akashlmp 8 месяцев назад
I am want to learn Vue js please recommend a tutorial
@walidaguib3944
@walidaguib3944 8 месяцев назад
Codevolution
@akashlmp
@akashlmp 8 месяцев назад
@@walidaguib3944 thanks 👍
@AngelHdzMultimedia
@AngelHdzMultimedia 7 месяцев назад
The docs. Are very tutorial like, easy to follow and understand, even with code examples, and a playground.
@akashlmp
@akashlmp 7 месяцев назад
@@AngelHdzMultimediathanks let me try to learn and understand
@aammssaamm
@aammssaamm 7 месяцев назад
First, you need to learn how to google.
@user-un4qf4ls6k
@user-un4qf4ls6k 4 месяца назад
I don't see your next3-tailwindcss-starter repository on your github...
@xiaoshen194
@xiaoshen194 8 месяцев назад
What's the difference between NextJs, NuxtJs and NestJs?
@lihinfei8334
@lihinfei8334 8 месяцев назад
Nextjs and Nuxtjs are fullstack javascript framework which built on top of virtual DOM UI framework or library, such as React and Vue. Nestjs is battery-included backend framework, widely support different recipes for building web server, everything you need you will find in doc and the syntax is very likely inspired by Angular or Java spring-boot.
@aammssaamm
@aammssaamm 7 месяцев назад
You cannot even google it. 😂
@KuroManX
@KuroManX 7 месяцев назад
Next = React, Nuxt = Vue, Nestjs = backend
@freddiemounir855
@freddiemounir855 6 месяцев назад
Next js is the frame work of react library Nuxt is a framework based on vue for frontend Nest js is a backend framework based on node
@mythbuster6126
@mythbuster6126 2 месяца назад
​@@lihinfei8334 nest js was primarily inspired by asp net core and its predecessor project owin
@sreejishnair5922
@sreejishnair5922 8 месяцев назад
Where's the timestamp?
@freecodecamp
@freecodecamp 8 месяцев назад
Just added. :)
@sreejishnair5922
@sreejishnair5922 8 месяцев назад
@@freecodecamp thanks
@jonnhybravo
@jonnhybravo 5 месяцев назад
Great video. The ext time take a bottle of water, please
@josuebarros5727
@josuebarros5727 8 месяцев назад
Nuxt😍 #first
@DarkestSoulsBand
@DarkestSoulsBand 8 месяцев назад
deez nuxt
@grabatar
@grabatar 7 месяцев назад
its not a course for beginners, when you need to already know other languages/frameworks to use it. At least write pre-required knowledge. This goes for all the good but flawed courses on this channel. Its a great resource i bet, but most of them require you to already be a developer even if on a starting level, and to have studied at least if not also got experience with other languages/frameworks. Thats... not "for beginners" unless you state this :(. Was so looking forward to this, and then i find out i need to have already learned VueJS to make good use of this. DEPENDENSIES MAN!! why dont you list dependencies. That seems like a basic information for a developer no? Even i with very limited experience in *nix and coding knows thats the first and most important part. Thanks still for making the content free and available to improve the world. Just disappointed at all the great classes i cant really make use of yet due to false titles and no info in description
@starlord7526
@starlord7526 7 месяцев назад
exactly
@mrgalaxy396
@mrgalaxy396 7 месяцев назад
If you're totally new to the web development world, learning frameworks comes waaay later. You need to learn the fundamentals first: HTML, CSS, JavaScript, the DOM and Web APIs. Then you can jump into a framework like Vue or React and then its server-side rendering counter-part like Nuxt or Next etc.
@Kid-vr6zf
@Kid-vr6zf 3 месяца назад
Good course but the accent is hard to understand. When he says alert, it sounds like he is saying a layout, which are both Nuxt terms, so it is very confusing to listen to. He also calls it a root, rather than a route, both are technical terms, again, makes it hard to understand.
@kareemazohra432
@kareemazohra432 4 месяца назад
screen is cut on the upper side. so necessary urls are not shown. a big thumb down for this. had to leave the course half way.
@aammssaamm
@aammssaamm 7 месяцев назад
Waste of time. Same state nightmare like everywhere else.
@zmdev8465
@zmdev8465 7 месяцев назад
I also feel Nuxt is a wast of time.
@namangupta1817
@namangupta1817 7 месяцев назад
Please, Suggest the best way to develop frontend.
@aammssaamm
@aammssaamm 7 месяцев назад
@@namangupta1817 Actor Model.
@namangupta1817
@namangupta1817 7 месяцев назад
@@aammssaamm If I am not wrong, you are referring to concept followed by XState and other state machines right?
@aammssaamm
@aammssaamm 7 месяцев назад
@@namangupta1817 No, if something is called an "actor", it doesn't mean it actually is. It's still the same hardcoded HTML and "state" nightmare. Why would you need to mess with "states" if you can read the value of any field in real time? All you need is a unique message and a tree of all elements/actors. An application bus will take care of the queue for you. You may try to google "Carl Hewitt Actor Model" or ''Javascript Actor Model".
@kedimnvfjnnvfjffurju
@kedimnvfjnnvfjffurju 7 месяцев назад
Thanks
Далее
Vue.js: SSR с помощью Nuxt.js | Meta/conf
47:05
Data Fetching With Nuxt 3
20:31
Просмотров 23 тыс.
Astro Web Framework Crash Course
1:16:48
Просмотров 79 тыс.
JavaScript Framework Tier List
40:57
Просмотров 281 тыс.
I DONT USE NEXT JS
54:01
Просмотров 310 тыс.
ChatGPT Can Now Talk Like a Human [Latest Updates]
22:21
Linux Operating System - Crash Course for Beginners
2:47:56
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
React VS Svelte...10 Examples
8:35
Просмотров 510 тыс.