Static GitHub Issues

[228] Add ignore to page to avoid nuxt route auto generation

prev: Ajax Server Rendering Problem
next: The data function has no context parameter in layout component

Hi, I encountered a problem when I tried to split a large page into pieces. For example, I have a page which includes three tabs. I want to split them into three different files and then import as a component. But if I define these tabs in ~pages directory, nuxt will auto generate routes related to them which is not what I want. Meanwhile, I think it is not a good way to place these files in ~components directory, cuz they are not components but pieces of a large page. So I think maybe there can be something like a ignore mark in page which can tell nuxt that it should not be regarded as a page.

Thanks

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c198">#c198</a>)</em></sub></div>