diff --git a/layouts/AppDocumentation.vue b/layouts/AppDocumentation.vue index ddda5ddf4..8136496d5 100644 --- a/layouts/AppDocumentation.vue +++ b/layouts/AppDocumentation.vue @@ -16,13 +16,13 @@ export default { component: null, github: { type: String, - default: 'index' + default: 'index.vue' } }, viewGithubListener: null, mounted() { this.viewGithubListener = () => { - window.open('https://github.com/primefaces/primevue/blob/master/pages/' + this.name.toLowerCase().replaceAll('demo', '/') + this.github + '.vue', '_blank'); + window.open('https://github.com/primefaces/primevue/blob/master/pages/' + this.name.toLowerCase().replaceAll('demo', '/') + this.github, '_blank'); }; EventBus.on('view-github', this.viewGithubListener); },