Vue.js is a progressive JavaScript framework for building user interfaces, created by Evan You in 2014. Vue is designed to be incrementally adoptable: it can drop into a single page or anchor an entire application, and it borrows ideas from React (component model, virtual DOM) and Angular (templates, directives) while keeping the API approachable.

Core ideas

  • Single-file components (.vue).…

Server-Side Rendering (SSR) is the practice of rendering a page's HTML on the server in response to a request, then sending the fully formed markup to the browser, optionally followed by JavaScript that hydrates the page for interactivity. SSR contrasts with Client-Side Rendering (CSR), where the server returns a near-empty HTML shell and the browser builds the UI from JavaScript.

Why SSR…

とりあえずデプロイしたらキャッシュに惑わされたのでNuxtのユニバーサルレンダリングについて調べてみた

SSGでデプロイされていると勘違いしていた

https://contributions.nove-b.dev/をNetlifyにデプロイしている。

Clone元はhttps://github.com/atinux/my-pull-requestsで、envを変更するだけで自分ようになるので、ソースコードを読まずにnuxi buildでデプロイした。

最近は静的ジェネレータをメインに触っていたせいか、SSGでデプロイされると思い込んでいたので、プルリクを出すたびにデプロイしなくちゃいけなく、デプロイの定期実行をどうしようと思い悩んでいた。

先日プルリクを出したあとに見に行くと、最新のプルリクが反映されており、勝手にデプロイが走ったのかと混乱した。

デプロイ履歴を見に行くとデプロイ履歴は更新されていない。

SSGじゃないんじゃと思い返して、試しにプルリクを出し、観察しに行くとプルリ…

Read more →
Page 1