I need to create a dynamic path in Next.js like 'courses-demo-[dynamic_name]'. I created nested folders like this:
- courses-demo
- [...slug]
- index.ts
- [...slug]
This folder structure just support path as /courses-demo/a, /courses-demo/b/c, etc. But I want to have a URL like this: /courses-demo-photograpy, courses-demo-web-development, and another many dynamic names. How could I do this?