我正在尝试使用 Symfony 的平台 API 框架。
我正在关注他们的文档并尝试设置小演示 API。
https://api-platform.com/docs/distribution/#via-composer
一切都很顺利,至少我认为。
当我运行服务器时,我看不到 UI。
我只在浏览器中看到此文本:
{
"@context": "/contexts/Entrypoint",
"@id": "/",
"@type": "Entrypoint",
"book": "/books",
"person": "/people",
"organization": "/organizations"
}
而不是这个:
有人知道这里出了什么问题吗?
我正在为这个小演示使用作曲家。