A lot of people wondered how easy it is to switch over from React and to Vue and - In this video you’ll see - actually it isn’t that difficult.
In roughly an hour we will write idiomatic code and convert @t3dotgg’s QuickPic app (fully open source) over to the vue-based meta framework with all features that it has!
#nextjs #nuxt #nuxtjs #vuejs #vue #webdevelopment
---
Links and Resources:
🔗 Original App
🔗 Deployed Nuxt app
🔗 Code
🔗 My PR to Theo’s app
🔗 SEO and OG Image modules
📺 5 Features missing in Vue
📺 @DejaVueFm #E030 - Pinia and Data Loaders (with Eduardo San Martin Morote)
---
Chaptermarks:
00:00:00 Intro
00:00:46 Which app will we convert?
00:01:50 Exploring the existing code
00:04:30 Adapting the
00:05:05 Setting up our and adapting the tsconfig for auto imports
00:06:08 First look in the browser
00:06:18 Opt-in to Nuxt 4 changes and creating an
00:10:05 Converting the Index Page
00:12:25 Install Tailwind CSS and add global CSS
00:14:05 Adding fonts via nuxt/fonts
00:18:20 Setting up the favicon
00:19:42 The (tools) folder and creating our first layout
00:22:15 Enabling Layouts in our
00:23:20 Choosing a page to tackle next
00:23:40 Converting the square-image page over
00:24:45 Building the component
00:25:42 Starting with the JSX
00:29:00 useState to ref
00:30:14 useEffect to watchEffect
00:31:49 Setter functions to .value changes
00:34:50 Event Handler Functions
00:37:00 Checking the app in the browser
00:37:55 Applying the layout for the page
00:38:42 Adding plausible with nuxt/scripts
00:43:35 Proxying scripts via route rules
00:44:37 Setting up the SvgTool component
00:49:33 Creating a subcomponent and using template refs
00:52:17 Not extracting the SaveAsPngButton
00:54:10 Converting the useSvgConverter hook to a composable
00:55:08 useMemo to a computed property
00:58:22 Summarizing the useSvConverter composables an reactivity
00:58:40 Moving useFileUpload over
01:00:30 Do not extract composables unless you reuse them
01:00:47 Wrapping up the SvgTool component
01:03:15 Rookie mistake - .value in the template and forgetting .value
01:04:29 OG Image Generation
01:08:44 Nuxt DevTools for Debugging and Testing
01:11:34 Summary and Wrapping up!
7 views
72
19
7 days ago 00:02:10 1
Ситуация для Украины вышла из-под контроля | Бойцы «Востока» взяли под контроль Ялту в ДНР
4 weeks ago 00:00:00 3
Ваш адвокат как проводник по Зазеркалью и Сталкер
4 weeks ago 00:00:53 3
ПРОВЕРЬТЕ! ПОДДЕЛКИ ЗАПОЛНИЛИ МАГАЗИНЫ 🤬😳🤯
1 month ago 00:01:00 35
Вот почему японцы считаются одной из величайших наций в мире‼️🤯
1 month ago 00:06:37 1
«Красава, греби!» | ДТП с роботом на переходе | Качок обналичил 287 млн | Импорт, давай, до свидания
2 months ago 00:01:00 1
8 главных правил от 60-летнего миллиардера‼️🤯
2 months ago 00:05:44 0
First Time Hearing Diana Ankudinova – I Didn’t Expect This Voice! 🤯
2 months ago 00:00:46 0
НЕ ВЗДУМАЙТЕ ПИТЬ ЭТОТ ЛИМОНАД 🤬🤯🍋
2 months ago 00:36:50 0
ИЗБРАННЫЕ, О ГОСПОДИ, КТО ТЫ?! 🤯 ЭТО НЕ ПРОСТО ВОЗВРАТ... ТЫ ПОТРЯСЕШЬ МИР! ✨
2 months ago 00:09:51 0
🤯УЖАС на Забайкалье: смотрите что СДЕЛАЛ! “СВОшники“ озверели. ВАГНЕРОВЕЦ убил ПУШКИНА
2 months ago 00:04:05 0
🤯ЗАДОНАТИЛ РУБЛЕЙ НА ONLINE RP • СТАЛ САМЫМ БОГАТЫМ ИГРОКОМ НА СЕРВЕРЕ ЗА 150000 • ONLINE RP
2 months ago 00:16:34 1
ОНИ ПОХИЩАЛИ ЛЮДЕЙ ГОДАМИ! Шокирующее дело рабовладельцев из Новокузнецка дошло до Бастрыкина!
3 months ago 00:00:52 3
Отремонтировал тапочек на шиномонтажке 🤯😱
3 months ago 00:30:31 0
Кремлевские МРАЗИ СЛИВАЮТ Трампа 🤯 Путин ПОЛОЖИЛ ГЛАЗ на ОДЕССУ! США БЕССИЛЬНЫ? | Герман интервью
4 months ago 00:14:50 0
Портить бюллетени, читать пропаганду, ненавидеть Крым — чему учит блогер из Барнаула?
4 months ago 00:17:40 0
🤯Лукашенко выдал ТАКОЙ МАРАЗМ при Путине! Шокировал новыми заявлениями о ПЕРЕМИРИИ. Послушайте
4 months ago 00:26:28 2
🤯ЖЕСТЬ в США! Конгресс РАЗНЕС Трампа, зал АЖ ЗАТИХ. Начался БУНТ: Маска ЗАТКНУЛИ при всех. Лучшее
4 months ago 00:00:50 0
WEDNESDAY BANGER ALERT: MESSY! 🚀🎶 #dj #techhouse
4 months ago 00:01:37 0
ПОЛ ЖИЗНИ прожил и только теперь узнал что в жизни есть столько полезных лайфхаков🤯🤯🤯
5 months ago 00:02:37 6
😲 Голливуд высмеял Бога… Через 48 часов результат… ⚖️
6 months ago 00:15:48 5
🤯Путин ИСЧЕЗ после АТАКИ по РФ! Кремль СКРЫВАЕТ ПОСЛЕДСТВИЯ. Лавров РЕЗКО дал ЗАДНЮЮ по Украине
6 months ago 00:19:42 1
Путин СДУРЕЛ! МАСШТАБНЫЕ РЕПРЕССИИ накрыли ВСЮ РФ 🤯 Россиян САЖАЮТ ДАЖЕ за….
6 months ago 00:25:40 0
Отказы в гарантии на китайские авто / Как дилеры дают заднюю