Jack's Blog

|

  • Next.js 项目部署指南

    Next.js 项目部署指南

    本文介绍如何将 Next.js 项目部署到各种平台。 Vercel(推荐) Vercel 是 Next.js 的官方托管平台: bash npm i -g vercel vercel 优点: - 零配置部署 - 自动 CI/CD - 边缘网络加速 - 免费额度充足 Netlify bash npm run build 将 .next 目录部署到 N
  • React Hooks 完全指南

    React Hooks 完全指南

    React Hooks 是 React 16.8 引入的新特性,它让你在不编写 class 的情况下使用 state 以及其他的 React 特性。 useState useState 是最基本的 Hook,用于在函数组件中添加状态。 javascript const count, setCount = useState(0); useEffect
  • TypeScript 实用技巧集

    TypeScript 实用技巧集

    收集了一些日常开发中常用的 TypeScript 技巧。 类型工具 Partial & Required typescript interface User { name: string; age: number; email: string; } type PartialUser = Partial<User>; // 所有属性可选 type Requ
  • CSS Grid 布局实战

    CSS Grid 布局实战

    CSS Grid 是一个强大的二维布局系统,可以同时控制行和列。 基础概念 Grid 容器通过 display: grid 创建: css .container { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 20px; }
  • 2024 必看动漫推荐

    2024 必看动漫推荐

    新的一年有很多值得期待的动漫作品,这里整理了一些个人推荐。 续作推荐 进击的巨人 最终季 史诗级的结尾,不容错过的经典之作。 咒术回战 第二季 涩谷事变篇,战斗场面非常精彩。 鬼灭之刃 柱训练篇 继续延续高水准的制作品质。 新番推荐 葬送的芙莉莲 一部关于时间、生命和冒险的治愈系奇幻动漫。强烈推荐! 药屋少女的呢喃 宫廷
  • Hello World

    Hello World

    Welcome to Hexo(https://hexo.io/)! This is your very first post. Check documentation(https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in trou
  • What is m3u8?

    What is m3u8?

    Welcome to Hexo(https://hexo.io/)! This is your very first post. Check documentation(https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in trou
  • Study Note

    Study Note

    Welcome to Hexo(https://hexo.io/)! This is your very first post. Check documentation(https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in trou