我有一个没有解决方案的问题,我终于完成了我的应用程序,但现在我不能生成完整的静态网站。在我的例子中,有一个小小的“多参数”博客,我不喜欢Nuxt如何生成路由,因为对于我的导航系统,我需要这样的布局:
Nuxt最后一个版本,node.js最后一个版本
index
blog
|-article one (child of blog)
|-article two (child of blog)
|-other pages (child of blog)
other blog
|-article one (child of other blog)
|-article two (child of oth
我有一个Nuxt.js,静态生成的网站,其中有一些动态页面。我使用基于GraphQL的无头CMS (DatoCMS)为这些页面提供数据,使用Apollo (@nuxt/apollo)访问。我让它正确地生成所有的路由,但当我从我的站点导航到这些页面时,我收到以下错误3次: TypeError: Cannot read property '_seoMetaTags' of undefined
at f.head (cf150f1920d36ab67139.js:1)
at wn.get (008dfc959ff6e6a713a0.js:2)
at wn.evaluate (008
我是新来的拉拉,想问我如何设置我的网站路线。使用路由资源,我将得到这样的URI。
http://www.example.com/products // List all the products
http://www.example.com/products/create // Display a form to create a product
...
And so on...
我想要完成的是,当我访问单个产品并单击它的类别时,我的路线应该如下所示:
http://www.example.com/products/{slug}/category/{slug}
或
http://www.exa