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
86
25
3 years ago 00:01:01 49
Горы Сахара Прячут на складах 🤯🤯🤯
4 years ago 00:08:23 92
Вьетнамские местоимения 🤯🤯🤯
4 years ago 00:04:04 25
Our BOOK is out NOW 🤯🤯🤯🤯
4 years ago 00:10:07 31
Пожиратели химии. Голодный ХЛОР 🤯🔥
3 years ago 00:18:01 35
DIMASH KUDAIBERGEN LIVE - OLYMPICO 2021 REACTION! 🤯🤯🤯
5 years ago 00:11:27 57
НАРАЩИВАНИЕ полигелем (4 ЧАСА 🤯🤯🤯 и выкладной ФРЕНЧ готов)
5 years ago 01:16:38 19
H I S T O R Y ! 🤯
4 years ago 00:20:03 24
‼️ 100 TON GONE WRONG ☠️🤯 - Angelica Larsson
4 years ago 00:11:25 14
ДАА!😱 ОТКРЫЛ ЭПИК НАБОРЫ И ВЫБИЛ ЭТОТ ЗНАЧОК 🤯🤯🤯
4 years ago 00:01:30 125
Two moons over Dubai 🤯🤯🤯
3 years ago 00:02:25 8
I came back to competitive scene after 11 months 🤯🤯🤯
2 years ago 00:10:12 27
НОВЫЙ БАЙНД 11 из 10🤯🤯🤯 valorant
4 years ago 00:12:58 15
ААА😱 ОТКРЫЛ ЭПИК НАБОРЫ ЗНАЧКОВ И ВЫБИЛ ЕГО🤯🤯🤯
1 year ago 00:04:22 19
ЛАДА - НОВЫЕ ШОК ЦЕНЫ!!! 🤯🤯🤯 ПОСЛЕ ПОДОРОЖАНИЯ...
10 months ago 00:00:29 142
I found Oil 🤯❌ #shorts #memes #america
5 years ago 00:08:16 14
(Part 1) DIANA ANKUDINOVA - WICKED GAME 🤯🤯🤯😱😱 metalheads reaction
3 years ago 00:08:35 512
Сколько 🤯 стоит сделать электрику в 2021 году. Цены на электромонтаж в квартире
3 months ago 05:08:11 33
🔴 РР4 СТРИМ🎁РУЛЕТКИ КАЖДЫЕ 20 МИНУТ🤯РЕКОРДНЫЙ ФАРМ🔥
11 months ago 00:04:09 27
А У НАС ВЕЗДЕ КАВИТТ 🤯🤯🤯 БУДЬТЕ БДИТЕЛЬНЫ. Северное Тушино
12 months ago 01:17:59 32
АФЕРА ВЕКА РАСКРЫТА 🤯🤯🤯 СОТРУДНИК ВТБ ГОВОРИТ ПРАВДУ...
2 years ago 00:07:01 103.8K
‼️СВЕРХОРУЖИЕ ОТ ДРЕВНИХ ВОЙН ИСТОРИКИ ОСТАВИЛИ В ЗАМКЕ СИДОНА🤯🤯
3 years ago 00:02:14 590
🤯5-0! Liverpool CRUSH Manchester United🤯(Goal Highlights Salah Jota Pogba Red)
7 months ago 00:00:11 1
I flew while tubing 🤯🤯🤯
1 year ago 00:06:24 18
НЕ ПУСТИЛИ В ШКОЛУ 400 ДЕТЕЙ НА ОСНОВАНИИ ПОДОЗРЕНИЙ ⁉️🤯🤯🤯 Москва #1392