【发布时间】:2018-03-01 19:35:56
【问题描述】:
我正在使用 wp-api 创建一个站点。我所有的页面都在里面:
- pages
-- _slug
如果我的页面 slug 是 site.com/about
- pages
-- about
Nuxt 会像这样生成 html。但是...如果我的路径是 site.com/company/about
我可以创建这条路线吗?
PS:我为此使用了 wordpress api。所以如果我的页面有父页面,路径是:site.com/parent/child
【问题讨论】: