filmov
tv
The Nuxt Plugin Object Syntax - Wins for Perf, DX and Logic!
Показать описание
💻 Nuxt plugins might not be new for the most of you - but when creating them you probably use a function á la defineNuxtPlugin(function() {...}), or the arrow function equivalent. Even though there is a *new* syntax that you can use, which is not only "backwards"-compatible but also offers more features along the way.
Key points:
🎛️ Compare the function and object syntax for Nuxt plugins
👩💻 Taking a deep look inside the source code
✨ Learn about new features, for example dependsOn and parallel
---
Links:
Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up!
🌐 Connect further:
Chapters:
00:00 Intro
1:03 Looking into the demo app
3:02 Let's see if it works!
3:25 Why we see an error
3:55 Possible fixes
4:55 Diving into the object syntax & finding a fix
6:25 Defining a name and use dependsOn and solving the problem
8:00 One more for performance with parallel
9:36 What Nuxt 4 might bring us
10:30 The env property
10:52 One last thing - The enforce option
12:35 Summary
Keywords:
defineNuxtPlugin nuxt plugin object syntax
Key points:
🎛️ Compare the function and object syntax for Nuxt plugins
👩💻 Taking a deep look inside the source code
✨ Learn about new features, for example dependsOn and parallel
---
Links:
Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up!
🌐 Connect further:
Chapters:
00:00 Intro
1:03 Looking into the demo app
3:02 Let's see if it works!
3:25 Why we see an error
3:55 Possible fixes
4:55 Diving into the object syntax & finding a fix
6:25 Defining a name and use dependsOn and solving the problem
8:00 One more for performance with parallel
9:36 What Nuxt 4 might bring us
10:30 The env property
10:52 One last thing - The enforce option
12:35 Summary
Keywords:
defineNuxtPlugin nuxt plugin object syntax
The Nuxt Plugin Object Syntax - Wins for Perf, DX and Logic!
Plugins with Nuxt 3 — Course part 7
Nuxt 3 Plugins Example
Nuxt 3 Plugin Client: How to Add a Client Only Nuxt 3 Plugin
Nuxt Enterprise Plugin Patterns by Josh Deltener: Nuxt Nation 2021
Plugins in Nuxt 3
Nuxt 3 — Course for Beginners
Nuxt 3 Plugins 101
Nuxt 3 Plugin Not Working: How to Fix it
programming language, speed compilation #c++ #golang #rust
09 - Plugins - Nuxt 3
Why We Should Stop Using JavaScript According to Douglas Crockford (Inventor of JSON)
Why You Should Try Nuxt Content
Nailing It with Nuxt 3 - Inside and Out | VueConf US 2024
Nuxt3 Unit Testing - Happiness with Happy Dom
Creating dictionary with Nuxt.js | Vue 3 | Composition API
State management with Nuxt 3 — Course part 10
Nuxt 3 Modules and Open-Source - Vue.js Live 2023
9. Create a Nuxt plugin for Commerce.js | Create a Nuxt.js store with Commerce.js
I WISH I Knew These Tailwind Tips Earlier
Are You Following This Vue Best Practice?
Exploring Nuxt with Daniel Roe, Nuxt core team member
HOW TO FIX SyntaxError: Cannot use import statement outside a module
Content Module in Nuxt 3
Комментарии