API: The ignore Property
Define the ignore files for your Nuxt.js application
The ignorePrefix Property
Any file in pages/ layout/ middleware/ or store/ will be ignored during building if its filename starts with the prefix specified by
By default all files which start with
- will be ignored, such as
pages/-bar.vue. This allows for co-locating tests, utilities, and components with their callers without themselves being converted into routes, stores, etc.
The ignore Property
More customizable than
ignorePrefix: all files matching glob patterns specified inside
ignorewill be ignored in building.