Closed madiyetov closed 1 year ago
Hi @madiyetov,
As explained in the documentation of exclude
property, it's only to exclude routes from staticRoutes
, before caching data (see here)
if you need to exclude some dynamics routes, you have to customize your routes
function or use the filter
function.
Description
If we pass
exclude
property with glob pattern for dynamically generated routes, it's not applied:In this line, the pattern from
exclude
is applied insidestaticRoutes
to static routes, but routes coming frompromisifyRoute(options.routes)
are not filtered.nuxt@2.17.0