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!
2 views
72
19
2 months ago 00:00:59 1
Пацаны ищут нового басиста🤯 Сериал: Король и Шут. #киш #врек #хочуврек #хочувтренды
2 months ago 00:00:45 1
Типичная я на учебе (часть 2) 🤯 #головоломка #insideout #головоломка2 #insideout2
2 months ago 00:00:17 1
Американец СРАВНИЛ Россию и Америку🤯 #Американец #Россия #мнение
2 months ago 00:00:32 1
😲 Семейный разговор пошел не так! Мама я Натурал🤯
2 months ago 00:03:15 1
Green Day - Basket Case [Official Music Video] (4K Upgrade)
2 months ago 00:00:33 1
Удивительное путешествие рыбки🤯
2 months ago 00:17:03 1
БОМЖ-ПК ЗА 100 РУБЛЕЙ В 2042 ГОДУ!🤯 ОФИГЕТЬ!
2 months ago 00:24:39 1
🤯 АНГЕЛЫ И ДЕМОНЫ! Разрыв шаблонов! Кто такие и для чего нужны? «Базовые настройки» мира. Вегдаш
2 months ago 00:08:54 1
Нацисты и ЧВК США атаковали Курскую область | Разведчики ВСУ взяты в плен | Дедушка из Суджи жив
2 months ago 00:00:58 1
🤯ВОТ И ВСЁ! Россияне поймали Мишустина НА ЛЖИ #shorts
2 months ago 00:00:13 1
I THOUGHT IT WAS BENCH PRESS🤯#shorts
2 months ago 00:01:01 1
🔥‼️🤯 Вот это везение! Шок! Йог таксист решил вести статистику конкурсов и выиграл?! Новичкам везёт?!
2 months ago 00:00:18 1
Это Лада Самара и она в Англии 🤯 #lada #ladasamara #четырка #europe #сюрприз #swat2114 #swat_2114
2 months ago 00:00:48 1
9 Советов Соломона для Процветания и Ракета
2 months ago 00:41:13 1
Большое РАЗОБЛАЧЕНИЕ ИНФОЦЫГАН | Курсы под КОПИРКУ 🤯 Собчак, Айза, Серовски
2 months ago 00:01:00 1
Психологические факты, которые взорвут ваш мозг‼️🤯
2 months ago 00:00:18 1
Poweful Words By Sheryl Lee Ralph 🤯
2 months ago 00:13:51 3
Самая «жирная» RTX4080 super за 125000 рублей? 🤯
2 months ago 00:26:40 1
ЖЕЛЕЗНЫЙ ЧЕЛОВЕК ДАЛ ИНТЕРВЬЮ! Эпик Кон влог Москва 2024
2 months ago 00:43:19 1
🤯 ЛУЧШИЙ инвокер зашёл на ранг DIVINE ( 5000 ММР ) | Dota2 | Дота2