📜  next js 找不到模块'next babel' - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:15.607000             🧑  作者: Mango

代码示例2
// Create a .babelrc in your root folder adding this
{
  "presets": ["next/babel"],
  "plugins": []
}
// Then replace current code on .eslintrc with this
{
  "extends": ["next/babel"]
}