eucp-project / storyboards

Simple web application to show example use cases with some interactivity. (visitors via old url will be redirected to the website with new url)
https://eucp-project.github.io/storyboards
Other
7 stars 5 forks source link

Routing issues #6

Closed Peter9192 closed 3 years ago

Peter9192 commented 3 years ago

The landing page on GH pages is hosted eucp-project.github.io/usecases. The path to a single use case is eucp-project.github.io/usecases/usecase_0/panel_1, but navigating directly to that page on GH returns a 404.

Peter9192 commented 3 years ago

Seems to be the issue described here: https://medium.com/geekculture/github-pages-with-dynamic-routes-40f512900efa

Peter9192 commented 3 years ago

In addition, the base url is not rendered correctly in the generated URLs

geek-yang commented 3 years ago

The built-in :link= function in the vueper slider component can not deal with the redirection for the routing in Nuxt. It is explained in this post. To enable this feature, we still need to use the NuxtLink and load the image without using the vueper slider built-in function (this is explained in the documentation of vueper slider, section Complex Slide Title & Content).