Last active
February 21, 2022 08:18
-
-
Save mustafa05deniz/6c855f7832194f6afe80eff84473735e to your computer and use it in GitHub Desktop.
Create Component
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
<--Angular--> | |
this.ComponentList.map((res) => { | |
this.mainContainer.createComponent(res); | |
}); | |
<--React--> | |
React.createElement(ComponentList[block], { | |
block: block | |
}) | |
<--Vue--> | |
<div class="componentBox" :index="index" :key="item" v-for="(item, index) in components" > | |
<component :is="item" class="tab"></component> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment