Тёмный

Coding Shorts: Nuxt without Nuxt - Paged Based Routing and Layouts 

Shawn Wildermuth
Подписаться 18 тыс.
Просмотров 355
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@geraldmaale
@geraldmaale 8 месяцев назад
I will definitely give this a try. I get annoyed with the build time of nuxt but wanted to enjoy the benefits of pages and layouts as well.
@swildermuth
@swildermuth 8 месяцев назад
The next video is showing how to add auto components and auto imports too. We're only 1/2 way there ; )
@willcrowther4456
@willcrowther4456 8 месяцев назад
I really like this direction with the page based routing. Can you give more details about the issues you ran into with the unplugin-vue plugins you were showing in the first demo? I added it to my sample app and it seems to be working working great for me.
@swildermuth
@swildermuth 8 месяцев назад
The unplugin-vue version used nested routing for nested folders, and the Layout plugin wasn't setup for that so layout were being nested too (so doubling layouts).
@willcrowther4456
@willcrowther4456 8 месяцев назад
@@swildermuth Ok. I needed nested routing and think that is a necessity to a good general solution. Just adding a wrapper with a slot on the pages where it is needed so not sure a Layout component is actually needed.
@codedjango
@codedjango 8 месяцев назад
I wish vite has something like this for ssr....I hate using nuxt just for ssr sake
@swildermuth
@swildermuth 8 месяцев назад
Like this: vitejs.dev/guide/ssr
Далее
Coding Shorts 111: Was I Wrong About Blazor?
16:35
Просмотров 14 тыс.
Ванька пошел!!!! 🥰
00:18
Просмотров 808 тыс.
Coding Shorts: Ahead-of-Time Compilation in C# (AOT)
12:03
Is Hono the holy grail of web frameworks?
18:33
Просмотров 7 тыс.
Coding Shorts 110: Garbage Collector and IDisposable
14:25
Coding Shorts: C# Dialects and Idioms
19:13
Просмотров 3,4 тыс.
Learn React Hooks: useCallback - Simply Explained!
17:15
Coding Shorts #104: Can We Do Better Than Swagger?
11:03