Last active
September 29, 2019 10:05
-
-
Save cagcak/8637feeb04dcc4839a8a624d9e20add3 to your computer and use it in GitHub Desktop.
Created for the article: https://medium.com/@cagcak/a-common-story-of-reusable-cross-platformvuejs-component-library-ecaf86a0e35d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import AboutModal from './components/AboutModal' | |
const Components = { | |
AboutModal | |
} | |
Object.keys(Components).forEach(name => { | |
Vue.component(name, Components[name]) | |
}) | |
export default Components |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment