0% done with Real-world challenges with NuxtJS and Server-Side Rendering
15:13
|
Published on
10/19/2019
|
|
Chapter 15 of 27 in Building VueScreencasts.com
Video Watch Page + mounting client libs w/SSR
In this lesson we recreate the Video Watch Page.
We once again use asyncData and axios to load data from the API, and copy over some display elements from our VueJS app, adjusting them for use in Nuxt.
The biggest change we have to deal with is in the vue-video-player library -- our old method of loading relied on several browser-only features, so we're going to have to change how we load it. We'll switch to using a directive in the template, and then conditionally mounting the client-side code based on the value of process.browser.
What do others think of VueScreencasts?
"Very well explained."
—Leon van Rijswijk
"Damn it's good content. I am happy that I found VueScreencasts."
—Shamim Hossain
"Thank you for putting in the effort to make these videos and share with all!"
—Ritika Singh
"Great series!"
—Milan Zigmond