From b5b7309ee4ab72da5c4f6417697dd0b56c46aa17 Mon Sep 17 00:00:00 2001 From: Brian Retterer Date: Thu, 21 Mar 2019 17:08:28 -0400 Subject: [PATCH] Removes patch for un-loaded components, see github.com/vuejs/vuepress/issues/1173 --- packages/@okta/vuepress-site/.vuepress/enhanceApp.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/@okta/vuepress-site/.vuepress/enhanceApp.js b/packages/@okta/vuepress-site/.vuepress/enhanceApp.js index 9b9058fa2d3..19c39c7da34 100755 --- a/packages/@okta/vuepress-site/.vuepress/enhanceApp.js +++ b/packages/@okta/vuepress-site/.vuepress/enhanceApp.js @@ -1,10 +1,5 @@ var redirectsJson = require('./redirects.json'); -import pageComponents from '@internal/page-components' -export default ({ router, Vue }) => { +export default ({ router }) => { router.addRoutes(redirectsJson) - - for (const [name, component] of Object.entries(pageComponents)) { - Vue.component(name, component) - } }