A demo website built for Prismic's YouTube channel to showcase creating a better YouTube embed component.
Check out the video here - Lazy Load Your YouTube Embeds.
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run build
For detailed explanation on how things work, check out Next.js docs.