Hello, I have the following structure
└── pages
├── now
│ └── index.vue
│ └── [productId].vue
│ └── [categoryId].vue
│ └── [brandId].vue
├── later
│ └── [productId].vue
│ └── [categoryId].vue
│ └── [brandId].vue
As you can see, I'm duplicating the same pages (with the same content inside too). The only difference is I pass either now or later in the corresponding page to fetch its data.
Is there way to set a dynamic page but with only now or later as possible values built-in? Or should I create the following structure and check for now or later in pages/type.vue and otherwise do other stuff?
└── pages
├── [type]
│ └── index.vue
│ └── [productId].vue
│ └── [categoryId].vue
│ └── [brandId].vue