You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. I would like to know if it is possible to override external library's styles such as ant design vue. I tried this code :
<scriptlang="ts">
import {Layout} from 'ant-design-vue';
import {Component,Vue} from 'vue-property-decorator';
import styled from 'vue-styled-components';
const {Header} = Layout;
const WhiteHeader = styled(Header)`
background-color: white
;`
@Component({components: { WhiteHeader }})
export default class TestHeader extends Vue {}</script><template><a-layout><white-header>header</white-header></a-layout></template>
However, the ant design header style is not taken..
I know that works with react, styled-components and antd. How can I manage to pass that code. Any idea?
The text was updated successfully, but these errors were encountered:
Hey. I would like to know if it is possible to override external library's styles such as ant design vue. I tried this code :
However, the ant design header style is not taken..
I know that works with react, styled-components and antd. How can I manage to pass that code. Any idea?
The text was updated successfully, but these errors were encountered: