Nuxt.js:"don't forget to write inside the parent component (.vue file)."的意思

Nuxt.js: meaning of "don't forget to write inside the parent component (.vue file)."

来自 Nuxt documentation:

Nested Routes
Nuxt.js lets you create nested route by using the children routes of vue-router.

To define the parent component of a nested route, you need to create a Vue file with the same name as the directory which contain your children views.

Warning: don't forget to write inside the parent component (.vue file).

我们如何从技术上翻译粗体文本?

您的粗体字不见了 write <nuxt-child/>

所以从技术上讲,这意味着您需要在父组件中包含 <nuxt-child/> 标记。

看这个例子https://github.com/nuxt/nuxt.js/tree/dev/examples/nested-routes/pages