Post AsYbRs4Q7FSfvyNoTA by ayo@social.ayco.io
(DIR) More posts by ayo@social.ayco.io
(DIR) Post #AsYbRVukUWeZDbgmLA by ayo@social.ayco.io
2025-03-29T19:07:09Z
0 likes, 0 repeats
weekend project
(DIR) Post #AsYbRWwCgbPYOPNSFM by ayo@social.ayco.io
2025-03-29T19:08:50Z
0 likes, 0 repeats
😂 I want to try the techniques in the McMasterr-Carr website, and learn how to build with Nuxt from scratch........ https://youtu.be/-Ln-8QM8KhQ?si=sGf7Ak-rFsoya_6l
(DIR) Post #AsYbRY5oOMgtyUsdrU by ayo@social.ayco.io
2025-03-29T19:18:10Z
0 likes, 0 repeats
used```npm create nuxt@latest```...there was a step that asks which package manager I want, but I think that can be derived from the command I usedasked in a discussion: https://github.com/nuxt/cli/discussions/817
(DIR) Post #AsYbRYzp27UgmD5NAG by ayo@social.ayco.io
2025-03-29T19:23:21Z
0 likes, 0 repeats
not gonna rewrite the whole mcmaster-carr website; actually just want to try the "prefetch partial html on hover" technique
(DIR) Post #AsYbRZiqKjVT1q9KL2 by ayo@social.ayco.io
2025-03-29T19:24:17Z
0 likes, 0 repeats
for the 'partial html' endpoint, i think a server route will do
(DIR) Post #AsYbRaYbEIuHcMMf0i by ayo@social.ayco.io
2025-03-29T19:34:29Z
0 likes, 1 repeats
I was right, server routes is the way for partial html :)Found an open discussion, and suggested the same: https://github.com/nuxt/nuxt/discussions/31546
(DIR) Post #AsYbRk4ppp2X8wW20O by ayo@social.ayco.io
2025-03-29T19:39:00Z
0 likes, 0 repeats
recap of what I want to try:1. we create portion of the page, where we will swap DOM w/ a prefetched partial HTML2. we prefetch if the user hovers over a link, so when the link is clicked it is instantly swapped without downloads3. update the browser URL
(DIR) Post #AsYbRs4Q7FSfvyNoTA by ayo@social.ayco.io
2025-03-29T19:41:42Z
0 likes, 0 repeats
4. we create a service worker for subsequent clicks