Store files and K/Vs in Nuxt and Nitro - Powered by unstorage
3.8 هزار بار بازدید -
5 ماه پیش
-
💾 Reading and writing information
💾 Reading and writing information is important for an application, be it for storage, caching or more. But especially with all the available runtimes and platform (think serverless, edge, ...) and storage options, it became more and more complex. Luckily, useStorage, powered by the unstorage package, can help us there! Let's see how!
---
Key points:
🔢 Various useStorage examples you can use in your project
✨ Using different stores
🤿 Dive into unstorage and it's capabilities
---
Links:
🔗 Full code github.com/manniL/alexander-lichter-unstorage-nitr…
🔗 Custom cache driver example github.com/nuxt/nuxt/pull/26104
🔗 unstorage unstorage.unjs.io/
🔗 Nitro nitro.unjs.io/
📺 Building an Association Manager with Nuxt • Stream VOD #006 - Building an Associa...
📺 DejaVue #E006 with Julien Huang • DejaVue #E006 - Nuxt Server Component...
📺 Speed up SSG with sharedPrerenderData • Nuxt 3.10 - Speed up your build time ...
📺 Env-aware Nuxt config • 😲 An environment-aware Nuxt Configura...
📺 The most common runtimeConfig mistake • Nuxt's runtimeConfig - The most commo...
📺 DejaVue YouTube Channel / @dejavuefm
Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up!
🌐 Connect further:
Website: www.lichter.io/
Twitter/X: twitter.com/TheAlexLichter
Twitch: www.twitch.tv/TheAlexLichter
---
Chapters:
00:00 Intro
00:50 useStorage overview
01:29 Demo app setup
01:55 Trying out useStorage
04:48 "Refreshing" the data
11:51 Using different storages
13:40 Naming and customizing storages
14:35 Available drivers - unstorage
16:58 Storage override in dev mode
18:03 runtimeConfig to set credentials
20:34 Summary
21:21 Raffler Winners!
22:20
5 ماه پیش
در تاریخ 1403/02/14 منتشر شده
است.
3,845
بـار بازدید شده