Skip to content

Latest commit

 

History

History
84 lines (43 loc) · 1.17 KB

blog.md

File metadata and controls

84 lines (43 loc) · 1.17 KB

用到的技术

nextjs,react, next-theme,css变量,自适应系统,next-auth,lenis,moogose

nextjs的字体,跨域解决,nginx的启动和代理转

docker启动数据库和数据的挂载配置,pm2,github的workflow

seo,sitemap,opengraph,metadata的分享

todo

日志的采集和监控告警sentry的部署和计入,pwa

Nextjs 是什么

安装

锁定引擎

顺便介绍一下npm,yarn,pnpm的区别,顺带提一嘴`package.json`中的一些字段

启动

路由

如何创建路由

路由跳转

路由参数的接受和传递

not-found, error, loading

API路由

渲染

服务端组件和客户端组件的区别,如何创建

样式

tailwindcss, cssModule, sass, css in js

优化

图片

字体

Metadata

LazyLoad

中间件middlerware

主题的实现

css变量和prefers-color-scheme: dark, next-theme

Lenis的滚动

登录,next-auth的介绍

数据库的配置

测试提交

docker的介绍和使用

test

Github的workflow

nginx和pm2

域名/解析

seo相关的介绍

遇到的问题分享

勒索病毒

todo