会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sekihin
--Anyone can coding
博客园
管理
[置顶]
学习目标
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2007-12-07 08:16 sekihin
阅读(44)
评论(0)
推荐(0)
2025年4月9日
【SQLSERVER】备份还原除当前数据库~之外的其他数据库的bak备份
摘要: 在使用 SQL Server 时,有些人在迁移数据库时会尽量避免采用备份→还原的步骤。原因是在还原过程中会出现晦涩难懂且奇怪的错误。 首先,确认还原时的选项中是否带有 “WITH REPLACE”。这是一个关于是否完全替换数据库的选项。 即便这样做,有时也可能无法解决问题,但从这里开始才是重点。指定
阅读全文
posted @ 2025-04-09 12:08 sekihin
阅读(20)
评论(0)
推荐(0)
2025年2月3日
【前端】常用VsCode插件
摘要: 根据插件的功能和用途,可以将这些 VSCode 插件分为以下几类,并进行排序: 1. 代码编辑与格式化 Prettier - Code formatter 自动格式化代码,支持多种语言。 Prettier ESLint 集成 Prettier 和 ESLint,统一代码风格。 ESLint 提供 J
阅读全文
posted @ 2025-02-03 20:58 sekihin
阅读(95)
评论(0)
推荐(0)
2025年1月21日
React席哪个能优化
摘要: 使用 map + key useMemo,useCallbak 组件 Fragement 异步组件 lazy 路由懒加载 PureComponent,meno 拓展 时间分片,延迟加载 SSR
阅读全文
posted @ 2025-01-21 14:16 sekihin
阅读(2)
评论(0)
推荐(0)
20 GitHub 仓库帮助你成为 React专家
摘要: 原文:https://dev.to/martinadamsdev/20-github-repositories-to-become-a-react-master-opl#how-to-become-a-react-master-1 推荐的 GitHub 仓库列表: reactjs/reactjs.o
阅读全文
posted @ 2025-01-21 08:51 sekihin
阅读(27)
评论(0)
推荐(0)
2025年1月5日
Export a named export for each HTTP method instead.(Next.js 15)
摘要: # Next.js 14 // src/app/api/product/route.ts import prisma from '@/prisma/prisma' import type { NextApiRequest, NextApiResponse } from 'next' // GET /
阅读全文
posted @ 2025-01-05 16:10 sekihin
阅读(35)
评论(0)
推荐(0)
Error occurred prerendering page "/_not-found".(Next.js 15)
摘要: 我们需要更新 UserProfile.tsx 组件,改用 Next.js 的 Link 组件而不是 react-router-dom 的 Link 组件。以下是解决方法: 这样可以确保组件更好地适应 Next.js 的框架,避免不兼容的问题。 # 错误的代码 'use client' import
阅读全文
posted @ 2025-01-05 10:32 sekihin
阅读(72)
评论(0)
推荐(0)
Error: Attempted to call generateViewport() from the server (Next.js 15)
摘要: Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error Error: Attempted to call generateViewport() from the
阅读全文
posted @ 2025-01-05 10:22 sekihin
阅读(95)
评论(0)
推荐(0)
[cause]: TypeError: e_.createContext is not a function (Next.js 15)
摘要: 开发 Next.js 项目遇到报错: [cause]: TypeError: e_.createContext is not a function 出现这个报错的原因是在 Next.js 项目中,在 Server Component 中使用了MUI组件,但是MUI组件没有做 SSR 适配就会导致这个
阅读全文
posted @ 2025-01-05 08:44 sekihin
阅读(38)
评论(0)
推荐(0)
2024年12月25日
Cursor - AI代码编辑器的使用指南
摘要: Cursor 是一个强大的 AI 代码编辑器,提供了多种功能来提升您的编程效率。本文将详细介绍如何使用 Cursor 及其主要功能,帮助您更好地利用这个工具。 1. 自动完成功能 Cursor 包含强大的自动完成功能,通过 Tab 键补全代码,可预测您的下一次编辑。启用后,它始终处于打开状态,并会考
阅读全文
posted @ 2024-12-25 16:02 sekihin
阅读(3586)
评论(0)
推荐(0)
2024年12月22日
Next.js项目中.prettierrc.json的配置
摘要: { // 使用双引号包裹属性名 "quoteProps": "consistent", // 对象的键值对之间使用一致的空格 "bracketSpacing": true, // 行尾使用分号 "semi": true, // 行尾使用单引号而不是双引号 "singleQuote": true, /
阅读全文
posted @ 2024-12-22 10:33 sekihin
阅读(116)
评论(0)
推荐(0)
下一页
公告