diff --git a/packages/@okta/vuepress-site/.vuepress/enhanceApp.js b/packages/@okta/vuepress-site/.vuepress/enhanceApp.js index 19c39c7da34..9b9058fa2d3 100755 --- a/packages/@okta/vuepress-site/.vuepress/enhanceApp.js +++ b/packages/@okta/vuepress-site/.vuepress/enhanceApp.js @@ -1,5 +1,10 @@ var redirectsJson = require('./redirects.json'); +import pageComponents from '@internal/page-components' -export default ({ router }) => { +export default ({ router, Vue }) => { router.addRoutes(redirectsJson) + + for (const [name, component] of Object.entries(pageComponents)) { + Vue.component(name, component) + } } diff --git a/packages/@okta/vuepress-theme-default/layouts/Quickstart.vue b/packages/@okta/vuepress-theme-default/layouts/Quickstart.vue index 508b1c9bda7..159ea276937 100644 --- a/packages/@okta/vuepress-theme-default/layouts/Quickstart.vue +++ b/packages/@okta/vuepress-theme-default/layouts/Quickstart.vue @@ -28,9 +28,7 @@ -
-
-
+

Server Setup

@@ -56,9 +54,7 @@ -
-
-
+
@@ -68,8 +64,6 @@
- -