我给出的项目输出路径



我运行这个命令

"npm install -g @sanity/cli && sanity init --template getting-started-pets --project abgfpdhd --dataset production --provider google"
changed 1 package, and audited 2 packages in 16s
found 0 vulnerabilities
You're setting up a Sanity.io project!
We'll make sure you're logged in with Sanity.io.     
Then, we'll install a Sanity Studio for your project.
Press ctrl + C at any time to quit.
Looks like you already have a Sanity-account. Sweet! 
? Project output path: (E:Ecommerceecommercemoccasin-dunlin) 

我不知道。我给出的项目输出路径

您可以打开next.config.js并在nextjs中添加distDir配置,然后您的问题就解决了。

module.exports = {
distDir: 'build',
}

相关内容

  • 没有找到相关文章

最新更新