fix: extension builder did not show the content (#3648)

This commit is contained in:
dni ⚡
2025-12-09 11:02:37 +01:00
committed by GitHub
parent 77a5d7fe50
commit 5a5f253fa5
3 changed files with 9 additions and 4 deletions
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -35,7 +35,10 @@ const DynamicComponent = {
})
})
.catch(() => {
if (RENDERED_ROUTE !== this.$route.fullPath) {
let route = RENDERED_ROUTE
// append trailing slash only on the root path `/path` -> `/path/`
if (route.split('/').length === 2) route += '/'
if (route !== this.$route.fullPath) {
console.log('Redirecting to non-vue route:', this.$route.fullPath)
window.location = this.$route.fullPath
return