The rewrites function can handle folder names starting with @ as regular paths instead of parallel routes.
module.exports = {
async rewrites() {
return [
{
source: "/web/css/at-rules/@:target",
destination: "/web/css/at-rules/:target",
},
];
},
};This provides flexibility in routing, but the trade-off is that the page renders twice due to rewriting the path.