我是 MERN 堆栈新手,正在关注 YouTube 上的 MERN 堆栈教程。我在 Mongoose 上遇到错误。
Error: `useFindAndModify` is an invalid option
Run Code Online (Sandbox Code Playgroud)
我找不到任何解决方案。
Error: `useFindAndModify` is an invalid option
Run Code Online (Sandbox Code Playgroud) 我正在尝试获取我的远程存储库并运行以下命令:
git fetch origin
Run Code Online (Sandbox Code Playgroud)
然后运行这个:
git rebase origin/main
Run Code Online (Sandbox Code Playgroud)
但出现错误:
$ git rebase origin/main
fatal: Could not resolve HEAD to a revision
Run Code Online (Sandbox Code Playgroud)
这是什么意思?我做错了什么?
我是顺风新手,我正在尝试使悬停时图像变暗。这是我的 config.js
theme: {
extend:{
backgroundImage: (theme) => ({
video: "url('./bg-img.jpg')",
})
}
},
variants: {
boxShadow:["responsive", "hover", "focus"]
}
Run Code Online (Sandbox Code Playgroud)
这是我的代码:
<div className=" h-80 my-4 w-64 rounded-md p-4 bg-video bg-cover bg-center shadow-lg cursor-pointer group hover:bg-black transition-all duration-1000">
<h1 className="uppercase text-2xl text-golden font-black group-hover:text-secondary transition-all duration-500">
video
</h1>
</div>
Run Code Online (Sandbox Code Playgroud)