如何像 styled-components 一样使用样式
· 2 min read
不知道大家有没有遇到过这种情况:当访问一个用了 styled-components 技术的网站,打开开发者工具,想要修改下样式的时候,发现有些样式修改不了(注:chrome 更新后可以修改了,现在主要介绍下这项技术)。
Frontend tag description
View All Tags不知道大家有没有遇到过这种情况:当访问一个用了 styled-components 技术的网站,打开开发者工具,想要修改下样式的时候,发现有些样式修改不了(注:chrome 更新后可以修改了,现在主要介绍下这项技术)。
We recommend using Static Generation (with and without data) whenever possible because your page can be built once and served by CDN, which makes it much faster than having a server render the page on every request.
Next.js has two forms of pre-rendering: Static Generation and Server-side Rendering. The difference is in when it generates the HTML for a page.