<template>
<div>
<test />
<test1 />
<test2 />
</div>
</template>
<style scoped>
@import '@/main.css'
</style>
I know scoped will not let parent's style leak to child components.
But if I want the import style
leak to all child components, and not let it leak to global.
This style is used for all child components, but not for global styles.
The way I found is import style in every child components, but if there are too much child components, I need too import style in every child components.
Any way to do that?