Skip to content

Commit

Permalink
Merge pull request #63 from okta/remove_component_load_hack
Browse files Browse the repository at this point in the history
Removes patch for un-loaded components
  • Loading branch information
bretterer authored Mar 21, 2019
2 parents 0d3b2f6 + b5b7309 commit 5b2bd5e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/@okta/vuepress-site/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
@@ -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)
}
}

0 comments on commit 5b2bd5e

Please sign in to comment.